Lines Matching refs:head_waiter
87 waiter *head_waiter; // List of threads waiting on this condition member
93 dng_pthread_cond_impl() : head_waiter(NULL), tail_waiter(NULL), broadcast_generation(0) { } in dng_pthread_cond_impl()
594 if (real_cond.head_waiter == NULL) in cond_wait_internal()
595 real_cond.head_waiter = &this_wait; in cond_wait_internal()
632 real_cond.head_waiter = this_wait.next; in cond_wait_internal()
693 first = real_cond.head_waiter; in dng_pthread_cond_signal()
703 real_cond.head_waiter = first->next; in dng_pthread_cond_signal()
725 first = real_cond.head_waiter; in dng_pthread_cond_broadcast()
726 real_cond.head_waiter = NULL; in dng_pthread_cond_broadcast()
820 rw_waiter *head_waiter; member
832 , head_waiter (NULL) in dng_pthread_rwlock_impl()
848 HANDLE semaphore = head_waiter->semaphore; in WakeHeadWaiter()
850 head_waiter = head_waiter->next; in WakeHeadWaiter()
851 if (head_waiter == NULL) in WakeHeadWaiter()
883 if (real_rwlock.head_waiter != NULL || in dng_pthread_rwlock_destroy()
932 if (real_rwlock.head_waiter == NULL) in dng_pthread_rwlock_rdlock()
933 real_rwlock.head_waiter = &this_wait; in dng_pthread_rwlock_rdlock()
1004 while (real_rwlock.head_waiter != NULL) in dng_pthread_rwlock_unlock()
1006 if (real_rwlock.head_waiter->is_writer) in dng_pthread_rwlock_unlock()
1060 if (real_rwlock.head_waiter == NULL) in dng_pthread_rwlock_wrlock()
1061 real_rwlock.head_waiter = &this_wait; in dng_pthread_rwlock_wrlock()