explicit unique_lock(mutex_type& m);
[…]
-5- Postconditions:pm == &m addressof(m)
andowns == true
.
unique_lock(mutex_type& m, defer_lock_t) noexcept;
[…]
-7- Postconditions:pm == &m addressof(m)
andowns == false
.
unique_lock(mutex_type& m, try_to_lock_t);
[…]
-10- Postconditions:pm == &m addressof(m)
andowns == res
, whereres
is the value returned by the call tom.try_lock()
.
unique_lock(mutex_type& m, adopt_lock_t);
[…]
-13- Postconditions:pm == &m addressof(m)
andowns == true
. -14- Throws: Nothing.
template <class Clock, class Duration> unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time);
[…]
-17- Postconditions:pm == &m addressof(m)
andowns == res
, whereres
is the value returned by the call tom.try_lock_until(abs_time)
.
template <class Rep, class Period> unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time);
[…]
-20- Postconditions:pm == &m addressof(m)
andowns == res
, whereres
is the value returned by the call tom.try_lock_for(rel_time)
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4