Searched refs:wait_count (Results 1 – 1 of 1) sorted by relevance
74 atomic_uint wait_count; member99 atomic_init(&barrier->wait_count, 0); in pthread_barrier_init()124 uint32_t prev_wait_count = atomic_load_explicit(&barrier->wait_count, memory_order_relaxed); in pthread_barrier_wait()135 if (atomic_compare_exchange_weak_explicit(&barrier->wait_count, &prev_wait_count, in pthread_barrier_wait()159 if (atomic_fetch_sub_explicit(&barrier->wait_count, 1, memory_order_release) == 1) { in pthread_barrier_wait()178 if (atomic_load_explicit(&barrier->wait_count, memory_order_relaxed) != 0) { in pthread_barrier_destroy()