Searched refs:adopt_lock (Results 1 – 9 of 9) sorted by relevance
25 std::unique_lock<std::mutex> lk(m, std::adopt_lock); in main()
26 std::shared_lock<std::shared_timed_mutex> lk(m, std::adopt_lock); in main()
33 T3 t3 = std::adopt_lock; in main()
29 enum adopt_lock_t { adopt_lock }; enumerator
37 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);
61 extern const adopt_lock_t adopt_lock;67 constexpr adopt_lock_t adopt_lock = adopt_lock_t();
96 constexpr adopt_lock_t adopt_lock{};
22 const adopt_lock_t adopt_lock = {}; variable