Home
last modified time | relevance | path

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/
Dmutex_try_to_lock.pass.cpp35 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/
Dmutex_try_to_lock.pass.cpp38 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/
Dmutex.cpp20 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/
Dtypes.pass.cpp32 T2 t2 = std::try_to_lock; in main()
/external/libcxx/include/
Dmutex95 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_base60 extern const try_to_lock_t try_to_lock;
66 constexpr try_to_lock_t try_to_lock = try_to_lock_t();