Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_barrier.cpp69 uint32_t init_count; member
97 barrier->init_count = count; in pthread_barrier_init()
130 if (prev_wait_count >= barrier->init_count) { in pthread_barrier_wait()
143 if (prev_wait_count + 1 == barrier->init_count) { in pthread_barrier_wait()
163 __futex_wake_ex(&barrier->state, barrier->pshared, barrier->init_count); in pthread_barrier_wait()
170 if (barrier->init_count == 0) { in pthread_barrier_destroy()
181 barrier->init_count = 0; in pthread_barrier_destroy()