Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__stop_token/
H A Datomic_unique_lock.h98 _State __current_state = __state_.load(std::memory_order_relaxed); in __lock_impl() local
101 if (__give_up_locking(__current_state)) { in __lock_impl()
104 } else if ((__current_state & _LockedBit) != 0) { in __lock_impl()
106 __state_.wait(__current_state, std::memory_order_relaxed); in __lock_impl()
110 __current_state = __state_.load(std::memory_order_relaxed); in __lock_impl()
118__current_state, // if __state_ has the same value of __current_state, lock bit must be zero befor… in __lock_impl()
122 …__state_after_lock(__current_state), // state after lock. Usually it should be __current_state | _… in __lock_impl()