Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__stop_token/
H A Dstop_state.h61 using __state_t = uint32_t; variable
62 using __callback_list_lock = __atomic_unique_lock<__state_t, __callback_list_locked_bit>;
73 …__state_.load(std::memory_order_relaxed) <= static_cast<__state_t>(~(1 << __stop_source_counter_sh… in __increment_stop_source_counter()
82 …__state_.load(std::memory_order_relaxed) >= static_cast<__state_t>(1 << __stop_source_counter_shif… in __decrement_stop_source_counter()
99 __state_t __curent_state = __state_.load(std::memory_order_acquire); in __stop_possible_for_stop_token()
142 const auto __give_up_trying_to_lock_condition = [__cb](__state_t __state) { in __add_callback()
197 …const auto __lock_fail_condition = [](__state_t __state) { return (__state & __stop_requested_bit)… in __try_lock_for_request_stop()
200 const auto __after_lock_state = [](__state_t __state) { in __try_lock_for_request_stop()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dbarrier.cpp18 struct alignas(64) /* naturally-align the heap state */ __state_t { struct in __barrier_algorithm_base
25 unique_ptr<__state_t[]> __state_;
29 __state_ = unique_ptr<__state_t[]>(new __state_t[__count]); in __barrier_algorithm_base()