Lines Matching refs:barrier
25 pthread_barrier_wait (pthread_barrier_t *barrier) in pthread_barrier_wait() argument
27 __pthread_spin_wait (&barrier->__lock); in pthread_barrier_wait()
28 if (--barrier->__pending == 0) in pthread_barrier_wait()
30 barrier->__pending = barrier->__count; in pthread_barrier_wait()
32 if (barrier->__count == 1) in pthread_barrier_wait()
33 __pthread_spin_unlock (&barrier->__lock); in pthread_barrier_wait()
39 __pthread_queue_iterate (barrier->__queue, wakeup) in pthread_barrier_wait()
46 __pthread_dequeuing_iterate (barrier->__queue, wakeup) in pthread_barrier_wait()
49 barrier->__queue = NULL; in pthread_barrier_wait()
50 __pthread_spin_unlock (&barrier->__lock); in pthread_barrier_wait()
64 __pthread_enqueue (&barrier->__queue, self); in pthread_barrier_wait()
65 __pthread_spin_unlock (&barrier->__lock); in pthread_barrier_wait()