Home | History | Annotate | Download | only in pthreads-win32

Lines Matching refs:barrier

5  * This translation unit implements barrier primitives.
42 pthread_barrier_wait (pthread_barrier_t * barrier)
49 if (barrier == NULL || *barrier == (pthread_barrier_t) PTW32_OBJECT_INVALID)
54 ptw32_mcs_lock_acquire(&(*barrier)->lock, &node);
56 b = *barrier;
60 * We are the last thread to arrive at the barrier before it releases us.
61 * Move our MCS local node to the global scope barrier handle so that the
69 * the semaphore (barrier).
82 * at this point when the last thread enters the barrier, resets
85 * barrier will be destroyed along with the semas.
94 * We are the last thread to cross this barrier