Lines Matching refs:scoped_lock
113 class scoped_lock // C++17
118 explicit scoped_lock(MutexTypes&... m);
119 scoped_lock(adopt_lock_t, MutexTypes&... m);
120 ~scoped_lock();
121 scoped_lock(scoped_lock const&) = delete;
122 scoped_lock& operator=(scoped_lock const&) = delete;
476 class _LIBCPP_TEMPLATE_VIS scoped_lock;
479 class _LIBCPP_TEMPLATE_VIS scoped_lock<> {
481 explicit scoped_lock() {}
482 ~scoped_lock() = default;
485 explicit scoped_lock(adopt_lock_t) {}
487 scoped_lock(scoped_lock const&) = delete;
488 scoped_lock& operator=(scoped_lock const&) = delete;
492 class _LIBCPP_TEMPLATE_VIS _LIBCPP_THREAD_SAFETY_ANNOTATION(scoped_lockable) scoped_lock<_Mutex> {
498 explicit scoped_lock(mutex_type & __m) _LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m))
501 ~scoped_lock() _LIBCPP_THREAD_SAFETY_ANNOTATION(release_capability()) {__m_.unlock();}
504 …explicit scoped_lock(adopt_lock_t, mutex_type& __m) _LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capa…
507 scoped_lock(scoped_lock const&) = delete;
508 scoped_lock& operator=(scoped_lock const&) = delete;
512 class _LIBCPP_TEMPLATE_VIS scoped_lock
519 explicit scoped_lock(_MArgs&... __margs)
526 scoped_lock(adopt_lock_t, _MArgs&... __margs)
532 ~scoped_lock() {
537 scoped_lock(scoped_lock const&) = delete;
538 scoped_lock& operator=(scoped_lock const&) = delete;