Home
last modified time | relevance | path

Searched refs:__owns_ (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__mutex/
H A Dunique_lock.h36 bool __owns_; variable
39 _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI unique_lock() _NOEXCEPT : __m_(nullptr), __owns_(false) {} in unique_lock()
41 : __m_(std::addressof(__m)), __owns_(true) { in unique_lock()
47 __owns_(false) {} in unique_lock()
50 : __m_(std::addressof(__m)), __owns_(__m.try_lock()) {} in unique_lock()
53 : __m_(std::addressof(__m)), __owns_(true) {} in unique_lock()
57 : __m_(std::addressof(__m)), __owns_(__m.try_lock_until(__t)) {} in unique_lock()
61 : __m_(std::addressof(__m)), __owns_(__m.try_lock_for(__d)) {} in unique_lock()
64 if (__owns_) in ~unique_lock()
73 __owns_(__u.__owns_) { in unique_lock()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dshared_mutex316 bool __owns_;
319 _LIBCPP_HIDE_FROM_ABI shared_lock() _NOEXCEPT : __m_(nullptr), __owns_(false) {}
321 …_LIBCPP_HIDE_FROM_ABI explicit shared_lock(mutex_type& __m) : __m_(std::addressof(__m)), __owns_(t…
327 __owns_(false) {}
330 : __m_(std::addressof(__m)), __owns_(__m.try_lock_shared()) {}
332 …E_FROM_ABI shared_lock(mutex_type& __m, adopt_lock_t) : __m_(std::addressof(__m)), __owns_(true) {}
336 : __m_(std::addressof(__m)), __owns_(__m.try_lock_shared_until(__abs_time)) {}
340 : __m_(std::addressof(__m)), __owns_(__m.try_lock_shared_for(__rel_time)) {}
343 if (__owns_)
350 …CPP_HIDE_FROM_ABI shared_lock(shared_lock&& __u) _NOEXCEPT : __m_(__u.__m_), __owns_(__u.__owns_) {
[all …]