Home
last modified time | relevance | path

Searched refs:try_lock_shared_for (Results 1 – 8 of 8) sorted by relevance

/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_shared_for.pass.cpp52 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1()
62 assert(m.try_lock_shared_for(WaitTime) == false); in f2()
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_shared_for.pass.cpp57 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1()
67 assert(m.try_lock_shared_for(WaitTime) == false); in f2()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock_for.pass.cpp32 bool try_lock_shared_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for() function
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock_for.pass.cpp31 bool try_lock_shared_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for() function
/external/llvm-project/libcxx/include/
Dshared_mutex67 try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
238 try_lock_shared_for(const chrono::duration<_Rep, _Period>& __rel_time)
363 __owns_(__m.try_lock_shared_for(__rel_time))
468 __owns_ = __m_->try_lock_shared_for(__d);
/external/libcxx/include/
Dshared_mutex68 try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);
238 try_lock_shared_for(const chrono::duration<_Rep, _Period>& __rel_time)
363 __owns_(__m.try_lock_shared_for(__rel_time))
468 __owns_ = __m_->try_lock_shared_for(__d);
/external/rust/crates/lock_api/src/
Drwlock.rs156 fn try_lock_shared_for(&self, timeout: Self::Duration) -> bool; in try_lock_shared_for() method
605 if self.raw.try_lock_shared_for(timeout) { in try_read_for()
/external/rust/crates/parking_lot/src/
Draw_rwlock.rs205 fn try_lock_shared_for(&self, timeout: Self::Duration) -> bool { in try_lock_shared_for() method