Lines Matching refs:unique_lock
96 class _LIBCPP_TYPE_VIS_ONLY unique_lock
107 unique_lock() _NOEXCEPT : __m_(nullptr), __owns_(false) {}
109 explicit unique_lock(mutex_type& __m)
112 unique_lock(mutex_type& __m, defer_lock_t) _NOEXCEPT
115 unique_lock(mutex_type& __m, try_to_lock_t)
118 unique_lock(mutex_type& __m, adopt_lock_t)
122 unique_lock(mutex_type& __m, const chrono::time_point<_Clock, _Duration>& __t)
126 unique_lock(mutex_type& __m, const chrono::duration<_Rep, _Period>& __d)
129 ~unique_lock()
136 unique_lock(unique_lock const&); // = delete;
137 unique_lock& operator=(unique_lock const&); // = delete;
142 unique_lock(unique_lock&& __u) _NOEXCEPT
146 unique_lock& operator=(unique_lock&& __u) _NOEXCEPT
170 void swap(unique_lock& __u) _NOEXCEPT
195 unique_lock<_Mutex>::lock()
198 __throw_system_error(EPERM, "unique_lock::lock: references null mutex");
200 __throw_system_error(EDEADLK, "unique_lock::lock: already locked");
207 unique_lock<_Mutex>::try_lock()
210 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex");
212 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked");
220 unique_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d)
223 __throw_system_error(EPERM, "unique_lock::try_lock_for: references null mutex");
225 __throw_system_error(EDEADLK, "unique_lock::try_lock_for: already locked");
233 unique_lock<_Mutex>::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t)
236 __throw_system_error(EPERM, "unique_lock::try_lock_until: references null mutex");
238 __throw_system_error(EDEADLK, "unique_lock::try_lock_until: already locked");
245 unique_lock<_Mutex>::unlock()
248 __throw_system_error(EPERM, "unique_lock::unlock: not locked");
256 swap(unique_lock<_Mutex>& __x, unique_lock<_Mutex>& __y) _NOEXCEPT
287 void wait(unique_lock<mutex>& __lk) _NOEXCEPT;
289 void wait(unique_lock<mutex>& __lk, _Predicate __pred);
293 wait_until(unique_lock<mutex>& __lk,
298 wait_until(unique_lock<mutex>& __lk,
304 wait_for(unique_lock<mutex>& __lk,
309 wait_for(unique_lock<mutex>& __lk,
317 void __do_timed_wait(unique_lock<mutex>& __lk,
341 condition_variable::wait(unique_lock<mutex>& __lk, _Predicate __pred)
349 condition_variable::wait_until(unique_lock<mutex>& __lk,
359 condition_variable::wait_until(unique_lock<mutex>& __lk,
373 condition_variable::wait_for(unique_lock<mutex>& __lk,
395 condition_variable::wait_for(unique_lock<mutex>& __lk,