Searched refs:try_lock_shared_for (Results 1 – 8 of 8) sorted by relevance
52 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1()62 assert(m.try_lock_shared_for(WaitTime) == false); in f2()
57 assert(m.try_lock_shared_for(WaitTime + Tolerance) == true); in f1()67 assert(m.try_lock_shared_for(WaitTime) == false); in f2()
32 bool try_lock_shared_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for() function
31 bool try_lock_shared_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for() function
67 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);
68 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);
156 fn try_lock_shared_for(&self, timeout: Self::Duration) -> bool; in try_lock_shared_for() method605 if self.raw.try_lock_shared_for(timeout) { in try_read_for()
205 fn try_lock_shared_for(&self, timeout: Self::Duration) -> bool { in try_lock_shared_for() method