Searched refs:try_to_lock (Results 1 – 6 of 6) sorted by relevance
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
D | mutex_try_to_lock.pass.cpp | 35 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() 39 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() 43 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f() 48 std::unique_lock<std::mutex> lk(m, std::try_to_lock); in f()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | mutex_try_to_lock.pass.cpp | 38 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() 42 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() 46 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() 51 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f()
|
/external/libcxx/src/ |
D | mutex.cpp | 20 const try_to_lock_t try_to_lock = {}; variable 134 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock() 186 unique_lock<mutex> lk(__m_, try_to_lock); in try_lock()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/ |
D | types.pass.cpp | 32 T2 t2 = std::try_to_lock; in main()
|
/external/libcxx/include/ |
D | mutex | 95 constexpr try_to_lock_t try_to_lock{}; 313 unique_lock<_L0> __u0(__l0, try_to_lock); 334 unique_lock<_L0> __u0(__l0, try_to_lock);
|
D | __mutex_base | 60 extern const try_to_lock_t try_to_lock; 66 constexpr try_to_lock_t try_to_lock = try_to_lock_t();
|