Searched refs:WAIT (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_barrier.cpp60 WAIT, enumerator in enum:BarrierState
70 // Barrier state. It is WAIT if waiting for more threads to enter the barrier in this cycle,
98 atomic_init(&barrier->state, WAIT);
154 while (atomic_load_explicit(&barrier->state, memory_order_acquire) == WAIT) {
155 __futex_wait_ex(&barrier->state, barrier->pshared, WAIT, false, nullptr);
162 atomic_store_explicit(&barrier->state, WAIT, memory_order_release);

Completed in 188 milliseconds