Subject: [Boost-bugs] [Boost C++ Libraries] #2664: Add unique_lock constructor taking a Duration
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-01-19 23:35:18
#2664: Add unique_lock constructor taking a Duration
------------------------------+---------------------------------------------
Reporter: viboes | Owner: anthonyw
Type: Feature Requests | Status: new
Milestone: Boost 1.38.0 | Component: thread
Version: Boost 1.37.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
Add unique_lock constructor taking a Duration to conform with the current
C++0x proposal
template <class !DurationType>
unique_lock(mutex_type& m, const !DurationType& 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 == &m and owns == res, where res is the value returned
by the call to m.timed_lock(rel_time).
Throws: Nothing.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2664> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC