Lines Matching refs:mutex
22 // Base class on which to build std::mutex and std::timed_mutex
36 class mutex : private __mutex_base
39 constexpr mutex() = default;
40 ~mutex() = default;
42 mutex(const mutex&) = delete;
43 mutex& operator=(const mutex&) = delete;
51 throw_system_error(err, "mutex:lock failed.");
106 throw_system_error(err, "Recursive mutex failed to construct");
210 // any lock-involving timed mutex API is currently only for custom implementations
255 "unique_lock::lock: references null mutex");
269 "unique_lock::try_lock: references null mutex");
284 "unique_lock::try_lock_for: references null mutex");
299 "unique_lock::try_lock_until: references null mutex");
341 mutex_type* mutex() const noexcept
485 mutex& get_once_mutex();
487 extern void set_once_functor_lock_ptr(unique_lock<mutex>*);
496 unique_lock<mutex> functor_lock(get_once_mutex());