Home
last modified time | relevance | path

Searched refs:try_lock_shared (Results 1 – 7 of 7) 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.cpp71 __shared_mutex_base::try_lock_shared() in try_lock_shared() function in __shared_mutex_base
112 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();
167 bool try_lock_shared();
193 _LIBCPP_INLINE_VISIBILITY bool try_lock_shared() { return __base.try_lock_shared(); }
230 bool try_lock_shared();
337 __owns_(__m.try_lock_shared())
451 __owns_ = __m_->try_lock_shared();
/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.hpp317 bool try_lock_shared() { return true; } in try_lock_shared() function in nasty_mutex