Home
last modified time | relevance | path

Searched refs:try_lock_shared (Results 1 – 9 of 9) sorted by relevance

/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.shared_mutex.requirements/thread.shared_mutex.class/
Dtry_lock_shared.pass.cpp38 assert(!m.try_lock_shared()); in f()
39 assert(!m.try_lock_shared()); in f()
40 assert(!m.try_lock_shared()); in f()
41 while(!m.try_lock_shared()) in f()
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_shared.pass.cpp47 assert(!m.try_lock_shared()); in f()
48 assert(!m.try_lock_shared()); in f()
49 assert(!m.try_lock_shared()); in f()
50 while(!m.try_lock_shared()) in f()
Dtry_lock_until_deadlock_bug.pass.cpp41 while (m.try_lock_shared()) { in blocked_reader()
/external/libcxx/src/
Dshared_mutex.cpp70 __shared_mutex_base::try_lock_shared() in try_lock_shared() function in __shared_mutex_base
111 bool shared_timed_mutex::try_lock_shared() { return __base.try_lock_shared(); } in try_lock_shared() function in shared_timed_mutex
/external/libcxx/include/
Dshared_mutex38 bool try_lock_shared();
65 bool try_lock_shared();
171 bool try_lock_shared() _LIBCPP_THREAD_SAFETY_ANNOTATION(try_acquire_shared_capability(true));
197 _LIBCPP_INLINE_VISIBILITY bool try_lock_shared() { return __base.try_lock_shared(); }
234 bool try_lock_shared();
341 __owns_(__m.try_lock_shared())
455 __owns_ = __m_->try_lock_shared();
/external/tensorflow/tensorflow/core/platform/default/
Dmutex.h50 bool try_lock_shared() SHARED_TRYLOCK_FUNCTION(true);
112 if (!mu.try_lock_shared()) { in tf_shared_lock()
Dmutex.cc46 bool mutex::try_lock_shared() { in try_lock_shared() function in tensorflow::mutex
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock.pass.cpp28 bool try_lock_shared() in try_lock_shared() function
/external/libcxx/test/support/
Dnasty_containers.hpp309 bool try_lock_shared() { return true; } in try_lock_shared() function in nasty_mutex