Searched refs:try_lock_for (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/libcxx/include/__mutex/ |
H A D | unique_lock.h | 61 : __m_(std::addressof(__m)), __owns_(__m.try_lock_for(__d)) {} in unique_lock() 93 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d); 140 bool unique_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d) { in try_lock_for() function 145 __owns_ = __m_->try_lock_for(__d); in try_lock_for()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | shared_mutex | 57 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 103 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 236 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time) 370 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time); 419 bool shared_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d) { 421 __throw_system_error(EPERM, "shared_lock::try_lock_for: references null mutex"); 423 __throw_system_error(EDEADLK, "shared_lock::try_lock_for: already locked");
|
H A D | mutex | 65 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 83 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 152 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time); 255 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __d) { 294 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __d) {
|