Lines Matching refs:unique_lock
121 class _LIBCPP_TEMPLATE_VIS unique_lock
132 unique_lock() _NOEXCEPT : __m_(nullptr), __owns_(false) {}
134 explicit unique_lock(mutex_type& __m)
137 unique_lock(mutex_type& __m, defer_lock_t) _NOEXCEPT
140 unique_lock(mutex_type& __m, try_to_lock_t)
143 unique_lock(mutex_type& __m, adopt_lock_t)
147 unique_lock(mutex_type& __m, const chrono::time_point<_Clock, _Duration>& __t)
151 unique_lock(mutex_type& __m, const chrono::duration<_Rep, _Period>& __d)
154 ~unique_lock()
161 unique_lock(unique_lock const&); // = delete;
162 unique_lock& operator=(unique_lock const&); // = delete;
167 unique_lock(unique_lock&& __u) _NOEXCEPT
171 unique_lock& operator=(unique_lock&& __u) _NOEXCEPT
195 void swap(unique_lock& __u) _NOEXCEPT
220 unique_lock<_Mutex>::lock()
223 __throw_system_error(EPERM, "unique_lock::lock: references null mutex");
225 __throw_system_error(EDEADLK, "unique_lock::lock: already locked");
232 unique_lock<_Mutex>::try_lock()
235 __throw_system_error(EPERM, "unique_lock::try_lock: references null mutex");
237 __throw_system_error(EDEADLK, "unique_lock::try_lock: already locked");
245 unique_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d)
248 __throw_system_error(EPERM, "unique_lock::try_lock_for: references null mutex");
250 __throw_system_error(EDEADLK, "unique_lock::try_lock_for: already locked");
258 unique_lock<_Mutex>::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t)
261 __throw_system_error(EPERM, "unique_lock::try_lock_until: references null mutex");
263 __throw_system_error(EDEADLK, "unique_lock::try_lock_until: already locked");
270 unique_lock<_Mutex>::unlock()
273 __throw_system_error(EPERM, "unique_lock::unlock: not locked");
281 swap(unique_lock<_Mutex>& __x, unique_lock<_Mutex>& __y) _NOEXCEPT
317 void wait(unique_lock<mutex>& __lk) _NOEXCEPT;
320 void wait(unique_lock<mutex>& __lk, _Predicate __pred);
325 wait_until(unique_lock<mutex>& __lk,
331 wait_until(unique_lock<mutex>& __lk,
338 wait_for(unique_lock<mutex>& __lk,
344 wait_for(unique_lock<mutex>& __lk,
352 void __do_timed_wait(unique_lock<mutex>& __lk,
376 condition_variable::wait(unique_lock<mutex>& __lk, _Predicate __pred)
384 condition_variable::wait_until(unique_lock<mutex>& __lk,
394 condition_variable::wait_until(unique_lock<mutex>& __lk,
408 condition_variable::wait_for(unique_lock<mutex>& __lk,
430 condition_variable::wait_for(unique_lock<mutex>& __lk,