Searched refs:try_lock_shared_for (Results 1 – 4 of 4) sorted by relevance
17 // bool try_lock_shared_for(const chrono::duration<Rep, Period>& rel_time);43 bool succeeded = m.try_lock_shared_for(std::chrono::milliseconds(1));72 bool succeeded = m.try_lock_shared_for(wait_time); in main() 110 bool succeeded = m.try_lock_shared_for(wait_time);
82 if (m.try_lock_shared_for(d)) { in f()
34 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);253 _LIBCPP_HIDE_FROM_ABI bool try_lock_shared_for(const chrono::duration<_Rep, _Period>& __rel_time)343 : __m_(std::addressof(__m)), __owns_(__m.try_lock_shared_for(__rel_time)) {}427 __owns_ = __m_->try_lock_shared_for(__d);