Searched refs:waiting_readers (Results 1 – 2 of 2) sorted by relevance
135 err = pthread_cond_init (&lock->waiting_readers, NULL); in glthread_rwlock_init_multithreaded()164 err = pthread_cond_wait (&lock->waiting_readers, &lock->lock); in glthread_rwlock_rdlock_multithreaded()247 err = pthread_cond_broadcast (&lock->waiting_readers); in glthread_rwlock_unlock_multithreaded()266 err = pthread_cond_destroy (&lock->waiting_readers); in glthread_rwlock_destroy_multithreaded()777 gl_waitqueue_init (&lock->waiting_readers); in glthread_rwlock_init_func()804 HANDLE event = gl_waitqueue_add (&lock->waiting_readers); in glthread_rwlock_rdlock_func()926 lock->runcount += lock->waiting_readers.count; in glthread_rwlock_unlock_func()927 gl_waitqueue_notify_all (&lock->waiting_readers); in glthread_rwlock_unlock_func()942 if (lock->waiting_readers.array != NULL) in glthread_rwlock_destroy_func()943 free (lock->waiting_readers.array); in glthread_rwlock_destroy_func()
239 pthread_cond_t waiting_readers; /* waiting readers */ member683 gl_carray_waitqueue_t waiting_readers; /* waiting readers */ member