Home
last modified time | relevance | path

Searched refs:try_lock_for (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__mutex/
H A Dunique_lock.h59 : __m_(std::addressof(__m)), __owns_(__m.try_lock_for(__d)) {} in unique_lock()
89 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d);
136 bool unique_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d) { in try_lock_for() function
141 __owns_ = __m_->try_lock_for(__d); in try_lock_for()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dshared_mutex57 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
103 bool try_lock_for(const chrono::duration<Rep, Period>& rel_time);
240 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time)
374 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time);
423 bool shared_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d) {
425 __throw_system_error(EPERM, "shared_lock::try_lock_for: references null mutex");
427 __throw_system_error(EDEADLK, "shared_lock::try_lock_for: already locked");
H A Dmutex65 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);
256 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __d) {
295 _LIBCPP_HIDE_FROM_ABI bool try_lock_for(const chrono::duration<_Rep, _Period>& __d) {