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()
176 __atomic_base<bool> __phase;184 …pected(__expected), __arrived(__expected), __completion(std::move(__completion)), __phase(false) {}186 auto const __old_phase = __phase.load(memory_order_relaxed);196 __phase.store(!__old_phase, memory_order_release);197 __phase.notify_all();202 __phase.wait(__old_phase, memory_order_acquire);244 inline _LIBCPP_AVAILABILITY_SYNC _LIBCPP_HIDE_FROM_ABI void wait(arrival_token&& __phase) const {247 return ((__current & __phase_bit) != __phase);287 _LIBCPP_AVAILABILITY_SYNC _LIBCPP_HIDE_FROM_ABI void wait(arrival_token&& __phase) const {288 __b_.wait(std::move(__phase));