Boost C++ Libraries: Ticket #2664: Add unique_lock constructor taking a Duration https://svn.boost.org/trac10/ticket/2664 <p> Add unique_lock constructor taking a Duration to conform with the current C++0x proposal </p> <p> template &lt;class DurationType&gt; unique_lock(mutex_type&amp; m, const DurationType&amp; rel_time); Precondition: If mutex_type is not a recursive mutex the calling thread does not own the mutex. Effects: Constructs an object of type unique_lock and calls m.timed_lock(rel_time). Postconditions: pm == &amp;m and owns == res, where res is the value returned by the call to m.timed_lock(rel_time). Throws: Nothing. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2664 Trac 1.4.3 viboes Thu, 28 May 2009 21:19:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2664#comment:1 https://svn.boost.org/trac10/ticket/2664#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2636" title="#2636: Feature Requests: threads and locks (closed: fixed)">#2636</a> </p> Ticket