Searched refs:adopt_lock (Results 1 – 10 of 10) sorted by relevance
23 std::unique_lock<std::mutex> lk(m, std::adopt_lock); in main()
31 T3 t3 = std::adopt_lock; in main()
24 std::shared_lock<std::shared_timed_mutex> lk(m, std::adopt_lock); in main()
35 std::lock_guard<std::mutex> lg(m, std::adopt_lock); in f()
194 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock);216 lock_guard<unique_lock<mutex> > __lx(__lk, adopt_lock);
63 extern const adopt_lock_t adopt_lock;69 constexpr adopt_lock_t adopt_lock = adopt_lock_t();
96 constexpr adopt_lock_t adopt_lock{};
21 const adopt_lock_t adopt_lock = {}; variable
3735 $(call gen-test, thread/thread.mutex/thread.lock/thread.lock.guard/adopt_lock)
3726 $(call gen-test, thread/thread.mutex/thread.lock/thread.lock.guard/adopt_lock)