Lines Matching refs:real_cond
573 dng_pthread_cond_impl &real_cond = **cond; in cond_wait_internal() local
585 ScopedLock lock1(real_cond.lock); in cond_wait_internal()
588 this_wait.prev = real_cond.tail_waiter; in cond_wait_internal()
589 if (real_cond.tail_waiter != NULL) in cond_wait_internal()
590 real_cond.tail_waiter->next = &this_wait; in cond_wait_internal()
591 real_cond.tail_waiter = &this_wait; in cond_wait_internal()
594 if (real_cond.head_waiter == NULL) in cond_wait_internal()
595 real_cond.head_waiter = &this_wait; in cond_wait_internal()
598 my_generation = real_cond.broadcast_generation; in cond_wait_internal()
614 ScopedLock lock2(real_cond.lock); in cond_wait_internal()
617 bool chosen_by_broadcast = my_generation != real_cond.broadcast_generation; in cond_wait_internal()
627 real_cond.tail_waiter = this_wait.prev; in cond_wait_internal()
632 real_cond.head_waiter = this_wait.next; in cond_wait_internal()
688 dng_pthread_cond_impl &real_cond = **cond; in dng_pthread_cond_signal() local
691 ScopedLock lock(real_cond.lock); in dng_pthread_cond_signal()
693 first = real_cond.head_waiter; in dng_pthread_cond_signal()
699 real_cond.tail_waiter = NULL; // Or first->prev, which is always NULL in this case in dng_pthread_cond_signal()
703 real_cond.head_waiter = first->next; in dng_pthread_cond_signal()
720 dng_pthread_cond_impl &real_cond = **cond; in dng_pthread_cond_broadcast() local
723 ScopedLock lock(real_cond.lock); in dng_pthread_cond_broadcast()
725 first = real_cond.head_waiter; in dng_pthread_cond_broadcast()
726 real_cond.head_waiter = NULL; in dng_pthread_cond_broadcast()
727 real_cond.tail_waiter = NULL; in dng_pthread_cond_broadcast()
729 real_cond.broadcast_generation++; in dng_pthread_cond_broadcast()