Home
last modified time | relevance | path

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

/llvm-project/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
H A Dtry_lock_shared_for.pass.cpp17 // 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);
/llvm-project/libcxx/test/libcxx/thread/thread.shared_timed_mutex/
H A Dthread_safety.verify.cpp82 if (m.try_lock_shared_for(d)) { in f()
/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
H A Dtry_lock_for.pass.cpp34 bool try_lock_shared_for(const std::chrono::duration<Rep, Period>& rel_time) in try_lock_shared_for() function
/llvm-project/libcxx/include/
H A Dshared_mutex67 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);