Searched refs:__phase (Results 1 – 2 of 2) sorted by relevance
20 __atomic_base<__barrier_phase_t> __phase{0}; member44 if (__state_[__current].__tickets[__round].__phase.compare_exchange_strong( in __arrive()47 } else if (__state_[__current].__tickets[__round].__phase.compare_exchange_strong( in __arrive()51 if (__state_[__current].__tickets[__round].__phase.compare_exchange_strong( in __arrive()
173 __atomic_base<bool> __phase;181 …pected(__expected), __arrived(__expected), __completion(std::move(__completion)), __phase(false) {}183 auto const __old_phase = __phase.load(memory_order_relaxed);193 __phase.store(!__old_phase, memory_order_release);194 __phase.notify_all();199 __phase.wait(__old_phase, memory_order_acquire);241 inline _LIBCPP_AVAILABILITY_SYNC _LIBCPP_HIDE_FROM_ABI void wait(arrival_token&& __phase) const {244 return ((__current & __phase_bit) != __phase);284 _LIBCPP_AVAILABILITY_SYNC _LIBCPP_HIDE_FROM_ABI void wait(arrival_token&& __phase) const {285 __b_.wait(std::move(__phase));