Searched refs:try_to_lock (Results 1 – 5 of 5) sorted by relevance
33 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f()37 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f()41 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f()46 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f()
19 const try_to_lock_t try_to_lock = {}; variable130 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock()182 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock()
30 T2 t2 = std::try_to_lock; in main()
95 constexpr try_to_lock_t try_to_lock{};310 unique_lock<_L0> __u0(__l0, try_to_lock);331 unique_lock<_L0> __u0(__l0, try_to_lock);
68 extern const try_to_lock_t try_to_lock;74 constexpr try_to_lock_t try_to_lock = try_to_lock_t();