Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__stop_token/
H A Dstop_state.h43 static constexpr uint32_t __stop_source_counter_shift = 2; variable
73 …te_.load(std::memory_order_relaxed) <= static_cast<__state_t>(~(1 << __stop_source_counter_shift)), in __increment_stop_source_counter()
75 __state_.fetch_add(1 << __stop_source_counter_shift, std::memory_order_relaxed); in __increment_stop_source_counter()
82 …state_.load(std::memory_order_relaxed) >= static_cast<__state_t>(1 << __stop_source_counter_shift), in __decrement_stop_source_counter()
84 __state_.fetch_sub(1 << __stop_source_counter_shift, std::memory_order_relaxed); in __decrement_stop_source_counter()
100 …rent_state & __stop_requested_bit) != 0) || ((__curent_state >> __stop_source_counter_shift) != 0); in __stop_possible_for_stop_token()
149 return (__state >> __stop_source_counter_shift) == 0; in __add_callback()