Lines Matching refs:shared_lock

75 class shared_lock
81 shared_lock() noexcept;
82 explicit shared_lock(mutex_type& m); // blocking
83 shared_lock(mutex_type& m, defer_lock_t) noexcept;
84 shared_lock(mutex_type& m, try_to_lock_t);
85 shared_lock(mutex_type& m, adopt_lock_t);
87 shared_lock(mutex_type& m,
90 shared_lock(mutex_type& m,
92 ~shared_lock();
94 shared_lock(shared_lock const&) = delete;
95 shared_lock& operator=(shared_lock const&) = delete;
97 shared_lock(shared_lock&& u) noexcept;
98 shared_lock& operator=(shared_lock&& u) noexcept;
109 void swap(shared_lock& u) noexcept;
119 void swap(shared_lock<Mutex>& x, shared_lock<Mutex>& y) noexcept;
310 class shared_lock
321 shared_lock() _NOEXCEPT
327 explicit shared_lock(mutex_type& __m)
333 shared_lock(mutex_type& __m, defer_lock_t) _NOEXCEPT
339 shared_lock(mutex_type& __m, try_to_lock_t)
345 shared_lock(mutex_type& __m, adopt_lock_t)
352 shared_lock(mutex_type& __m,
360 shared_lock(mutex_type& __m,
367 ~shared_lock()
373 shared_lock(shared_lock const&) = delete;
374 shared_lock& operator=(shared_lock const&) = delete;
377 shared_lock(shared_lock&& __u) _NOEXCEPT
386 shared_lock& operator=(shared_lock&& __u) _NOEXCEPT
409 void swap(shared_lock& __u) _NOEXCEPT
437 shared_lock<_Mutex>::lock()
440 __throw_system_error(EPERM, "shared_lock::lock: references null mutex");
442 __throw_system_error(EDEADLK, "shared_lock::lock: already locked");
449 shared_lock<_Mutex>::try_lock()
452 __throw_system_error(EPERM, "shared_lock::try_lock: references null mutex");
454 __throw_system_error(EDEADLK, "shared_lock::try_lock: already locked");
462 shared_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d)
465 __throw_system_error(EPERM, "shared_lock::try_lock_for: references null mutex");
467 __throw_system_error(EDEADLK, "shared_lock::try_lock_for: already locked");
475 shared_lock<_Mutex>::try_lock_until(const chrono::time_point<_Clock, _Duration>& __t)
478 __throw_system_error(EPERM, "shared_lock::try_lock_until: references null mutex");
480 __throw_system_error(EDEADLK, "shared_lock::try_lock_until: already locked");
487 shared_lock<_Mutex>::unlock()
490 __throw_system_error(EPERM, "shared_lock::unlock: not locked");
498 swap(shared_lock<_Mutex>& __x, shared_lock<_Mutex>& __y) _NOEXCEPT