Lines Matching defs:waiter
65 * A dummy waiter that's used to flag that pthread_cond_signal() is in
66 * progress and nobody else should try to modify the waiter list until
128 struct pthread__waiter waiter, *next, *head;
161 waiter.lid = self->pt_lid;
162 waiter.next = head;
166 next = atomic_cas_ptr(&cond->ptc_waiters, head, &waiter);
175 while (waiter.lid &&
194 * And if awoken early, we may still be on the waiter list and must
202 * Wait until released, otherwise "waiter" is still globally
206 while (__predict_false(waiter.lid)) {
212 pthread__assert(!waiter.lid);
249 /* Take ownership of one waiter. */
262 /* Block concurrent access to the waiter list. */
276 /* Now transfer waiter to the mutex. */