/external/libcxx/src/ |
D | shared_mutex.cpp | 106 shared_timed_mutex::shared_timed_mutex() : __base() {} in shared_timed_mutex() function in shared_timed_mutex 107 void shared_timed_mutex::lock() { return __base.lock(); } in lock() 108 bool shared_timed_mutex::try_lock() { return __base.try_lock(); } in try_lock() 109 void shared_timed_mutex::unlock() { return __base.unlock(); } in unlock() 110 void shared_timed_mutex::lock_shared() { return __base.lock_shared(); } in lock_shared() 111 bool shared_timed_mutex::try_lock_shared() { return __base.try_lock_shared(); } in try_lock_shared() 112 void shared_timed_mutex::unlock_shared() { return __base.unlock_shared(); } in unlock_shared()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | copy_assign.fail.cpp | 19 std::shared_timed_mutex m0; 20 std::shared_timed_mutex m1; 24 std::shared_lock<std::shared_timed_mutex> lk0(m0); in main() 25 std::shared_lock<std::shared_timed_mutex> lk1(m1); in main()
|
D | mutex_try_to_lock.pass.cpp | 27 std::shared_timed_mutex m; 39 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() 43 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() 47 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f() 52 std::shared_lock<std::shared_timed_mutex> lk(m, std::try_to_lock); in f()
|
D | copy_ctor.fail.cpp | 19 std::shared_timed_mutex m; 23 std::shared_lock<std::shared_timed_mutex> lk0(m); in main() 24 std::shared_lock<std::shared_timed_mutex> lk = lk0; in main()
|
D | mutex.pass.cpp | 49 std::shared_timed_mutex m; 56 std::shared_lock<std::shared_timed_mutex> ul(m); in f() 68 std::shared_lock<std::shared_timed_mutex> ul(m); in g()
|
D | mutex_time_point.pass.cpp | 30 std::shared_timed_mutex m; 52 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime + Tolerance); in f1() 62 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + WaitTime); in f2()
|
D | mutex_duration.pass.cpp | 30 std::shared_timed_mutex m; 53 std::shared_lock<std::shared_timed_mutex> lk(m, WaitTime + Tolerance); in f1() 63 std::shared_lock<std::shared_timed_mutex> lk(m, WaitTime); in f2()
|
D | default.pass.cpp | 24 std::shared_lock<std::shared_timed_mutex> ul; in main()
|
D | mutex_defer_lock.pass.cpp | 26 typedef std::shared_timed_mutex M; in main()
|
D | mutex_adopt_lock.pass.cpp | 26 typedef std::shared_timed_mutex M; in main()
|
D | move_ctor.pass.cpp | 26 typedef std::shared_timed_mutex M; in main()
|
D | move_assign.pass.cpp | 27 typedef std::shared_timed_mutex M; in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/ |
D | op_bool.pass.cpp | 22 std::shared_timed_mutex m; 26 std::shared_lock<std::shared_timed_mutex> lk0; in main() 28 std::shared_lock<std::shared_timed_mutex> lk1(m); in main()
|
D | owns_lock.pass.cpp | 22 std::shared_timed_mutex m; 26 std::shared_lock<std::shared_timed_mutex> lk0; in main() 28 std::shared_lock<std::shared_timed_mutex> lk1(m); in main()
|
D | mutex.pass.cpp | 22 std::shared_timed_mutex m; 26 std::shared_lock<std::shared_timed_mutex> lk0; in main() 28 std::shared_lock<std::shared_timed_mutex> lk1(m); in main()
|
/external/libcxx/include/ |
D | shared_mutex | 45 class shared_timed_mutex 48 shared_timed_mutex(); 49 ~shared_timed_mutex(); 51 shared_timed_mutex(const shared_timed_mutex&) = delete; 52 shared_timed_mutex& operator=(const shared_timed_mutex&) = delete; 206 class _LIBCPP_TYPE_VIS _LIBCPP_AVAILABILITY_SHARED_MUTEX shared_timed_mutex 210 shared_timed_mutex(); 211 _LIBCPP_INLINE_VISIBILITY ~shared_timed_mutex() = default; 213 shared_timed_mutex(const shared_timed_mutex&) = delete; 214 shared_timed_mutex& operator=(const shared_timed_mutex&) = delete; [all …]
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | copy.fail.cpp | 21 std::shared_timed_mutex m0; in main() 22 std::shared_timed_mutex m1(m0); in main()
|
D | assign.fail.cpp | 21 std::shared_timed_mutex m0; in main() 22 std::shared_timed_mutex m1; in main()
|
D | default.pass.cpp | 23 std::shared_timed_mutex m; in main()
|
D | try_lock.pass.cpp | 24 std::shared_timed_mutex m;
|
D | lock.pass.cpp | 28 std::shared_timed_mutex m;
|
D | try_lock_until_deadlock_bug.pass.cpp | 25 std::shared_timed_mutex m;
|
D | try_lock_shared.pass.cpp | 29 std::shared_timed_mutex m;
|
D | try_lock_until.pass.cpp | 29 std::shared_timed_mutex m;
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | lock.pass.cpp | 27 std::shared_timed_mutex m; 49 std::shared_lock<std::shared_timed_mutex> lk(m, std::defer_lock); in f()
|