/external/libcxx/include/ |
D | shared_mutex | 76 class shared_lock 82 shared_lock() noexcept; 83 explicit shared_lock(mutex_type& m); // blocking 84 shared_lock(mutex_type& m, defer_lock_t) noexcept; 85 shared_lock(mutex_type& m, try_to_lock_t); 86 shared_lock(mutex_type& m, adopt_lock_t); 88 shared_lock(mutex_type& m, 91 shared_lock(mutex_type& m, 93 ~shared_lock(); 95 shared_lock(shared_lock const&) = delete; [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | mutex_ops.cc | 75 std::shared_ptr<LockReleaser> shared_lock; member 78 : shared_lock(std::forward<decltype(lock)>(lock)) { in SharedLockReleaser() 79 VLOG(3) << "Creating shared_ptr of " << shared_lock.get() in SharedLockReleaser() 80 << " count is: " << shared_lock.use_count(); in SharedLockReleaser() 84 : shared_lock(std::move(rhs.shared_lock)) { in SharedLockReleaser() 85 VLOG(3) << "Moving SharedLockReleaser of " << shared_lock.get() in SharedLockReleaser() 86 << " count is: " << shared_lock.use_count(); in SharedLockReleaser() 90 : shared_lock(rhs.shared_lock) { in SharedLockReleaser() 91 VLOG(3) << "Copying SharedLockReleaser of " << shared_lock.get() in SharedLockReleaser() 92 << " count is: " << shared_lock.use_count(); in SharedLockReleaser() [all …]
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | move_ctor.pass.cpp | 28 std::shared_lock<M> lk0(m); in main() 29 std::shared_lock<M> lk = std::move(lk0); in main() 38 std::shared_lock<M> lk0(m); in main() 39 std::shared_lock<M> lk = std::move(lk0); in main()
|
D | move_assign.pass.cpp | 30 std::shared_lock<M> lk0(m0); in main() 31 std::shared_lock<M> lk1(m1); in main() 42 std::shared_lock<M> lk0(m0); in main() 43 std::shared_lock<M> lk1(m1); in main()
|
D | mutex_try_to_lock.pass.cpp | 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 | mutex.pass.cpp | 56 std::shared_lock<std::shared_timed_mutex> ul(m); in f() 68 std::shared_lock<std::shared_timed_mutex> ul(m); in g() 100 std::shared_lock sl(m); in main() 101 static_assert((std::is_same<decltype(sl), std::shared_lock<decltype(m)>>::value), "" ); in main()
|
D | copy_ctor.fail.cpp | 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 | copy_assign.fail.cpp | 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_duration.pass.cpp | 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 | mutex_time_point.pass.cpp | 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 | default.pass.cpp | 24 std::shared_lock<std::shared_timed_mutex> ul; in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/ |
D | op_bool.pass.cpp | 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 | 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 | 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/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.mod/ |
D | member_swap.pass.cpp | 32 std::shared_lock<mutex> lk1(m); in main() 33 std::shared_lock<mutex> lk2; in main()
|
D | nonmember_swap.pass.cpp | 33 std::shared_lock<mutex> lk1(m); in main() 34 std::shared_lock<mutex> lk2; in main()
|
D | release.pass.cpp | 37 std::shared_lock<mutex> lk(m); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/ |
D | types.pass.cpp | 29 static_assert((std::is_same<std::shared_lock<std::mutex>::mutex_type, in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/ |
D | unlock.pass.cpp | 36 std::shared_lock<mutex> lk(m); in main()
|
D | try_lock.pass.cpp | 40 std::shared_lock<mutex> lk(m, std::defer_lock); in main()
|
D | try_lock_for.pass.cpp | 45 std::shared_lock<mutex> lk(m, std::defer_lock); in main()
|
D | try_lock_until.pass.cpp | 45 std::shared_lock<mutex> lk(m, std::defer_lock); in main()
|
D | lock.pass.cpp | 49 std::shared_lock<std::shared_timed_mutex> lk(m, std::defer_lock); in f()
|