/external/libcxx/src/ |
D | shared_mutex.cpp | 107 shared_timed_mutex::shared_timed_mutex() : __base() {} in shared_timed_mutex() function in shared_timed_mutex 108 void shared_timed_mutex::lock() { return __base.lock(); } in lock() 109 bool shared_timed_mutex::try_lock() { return __base.try_lock(); } in try_lock() 110 void shared_timed_mutex::unlock() { return __base.unlock(); } in unlock() 111 void shared_timed_mutex::lock_shared() { return __base.lock_shared(); } in lock_shared() 112 bool shared_timed_mutex::try_lock_shared() { return __base.try_lock_shared(); } in try_lock_shared() 113 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 | 20 std::shared_timed_mutex m0; 21 std::shared_timed_mutex m1; 28 std::shared_lock<std::shared_timed_mutex> lk0(m0); in main() 29 std::shared_lock<std::shared_timed_mutex> lk1(m1); in main()
|
D | mutex_try_to_lock.pass.cpp | 26 std::shared_timed_mutex m; 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()
|
D | move_assign.pass.cpp | 23 std::shared_timed_mutex m0; 24 std::shared_timed_mutex m1; 31 std::shared_lock<std::shared_timed_mutex> lk0(m0); in main() 32 std::shared_lock<std::shared_timed_mutex> lk1(m1); in main()
|
D | copy_ctor.fail.cpp | 19 std::shared_timed_mutex m; 25 std::shared_lock<std::shared_timed_mutex> lk0(m); in main() 26 std::shared_lock<std::shared_timed_mutex> lk = lk0; in main()
|
D | move_ctor.pass.cpp | 22 std::shared_timed_mutex m; 28 std::shared_lock<std::shared_timed_mutex> lk0(m); in main() 29 std::shared_lock<std::shared_timed_mutex> lk = std::move(lk0); in main()
|
D | mutex.pass.cpp | 26 std::shared_timed_mutex m; 39 std::shared_lock<std::shared_timed_mutex> ul(m); in f() 51 std::shared_lock<std::shared_timed_mutex> ul(m); in g()
|
D | mutex_duration.pass.cpp | 27 std::shared_timed_mutex m; 38 std::shared_lock<std::shared_timed_mutex> lk(m, ms(300)); in f1() 48 std::shared_lock<std::shared_timed_mutex> lk(m, ms(250)); in f2()
|
D | mutex_time_point.pass.cpp | 27 std::shared_timed_mutex m; 38 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(300)); in f1() 48 std::shared_lock<std::shared_timed_mutex> lk(m, Clock::now() + ms(250)); in f2()
|
D | mutex_defer_lock.pass.cpp | 24 std::shared_timed_mutex m; in main() 25 std::shared_lock<std::shared_timed_mutex> lk(m, std::defer_lock); in main()
|
D | mutex_adopt_lock.pass.cpp | 24 std::shared_timed_mutex m; in main() 26 std::shared_lock<std::shared_timed_mutex> lk(m, std::adopt_lock); in main()
|
D | default.pass.cpp | 24 std::shared_lock<std::shared_timed_mutex> ul; 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; 202 class _LIBCPP_TYPE_VIS shared_timed_mutex 206 shared_timed_mutex(); 207 _LIBCPP_INLINE_VISIBILITY ~shared_timed_mutex() = default; 209 shared_timed_mutex(const shared_timed_mutex&) = delete; 210 shared_timed_mutex& operator=(const shared_timed_mutex&) = delete; [all …]
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/ |
D | op_bool.pass.cpp | 23 std::shared_timed_mutex m; 30 std::shared_lock<std::shared_timed_mutex> lk0; in main() 32 std::shared_lock<std::shared_timed_mutex> lk1(m); in main()
|
D | owns_lock.pass.cpp | 23 std::shared_timed_mutex m; 30 std::shared_lock<std::shared_timed_mutex> lk0; in main() 32 std::shared_lock<std::shared_timed_mutex> lk1(m); in main()
|
D | mutex.pass.cpp | 23 std::shared_timed_mutex m; 30 std::shared_lock<std::shared_timed_mutex> lk0; in main() 32 std::shared_lock<std::shared_timed_mutex> lk1(m); in main()
|
/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 | lock.pass.cpp | 24 std::shared_timed_mutex m;
|
D | try_lock.pass.cpp | 24 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 | 25 std::shared_timed_mutex m;
|
D | try_lock_for.pass.cpp | 25 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 | 26 std::shared_timed_mutex m; 36 std::shared_lock<std::shared_timed_mutex> lk(m, std::defer_lock); in f()
|