Searched refs:waiting_writers (Results 1 – 2 of 2) sorted by relevance
138 err = pthread_cond_init (&lock->waiting_writers, NULL); in glthread_rwlock_init_multithreaded()189 err = pthread_cond_wait (&lock->waiting_writers, &lock->lock); in glthread_rwlock_wrlock_multithreaded()237 err = pthread_cond_signal (&lock->waiting_writers); in glthread_rwlock_unlock_multithreaded()269 err = pthread_cond_destroy (&lock->waiting_writers); in glthread_rwlock_destroy_multithreaded()778 gl_waitqueue_init (&lock->waiting_writers); in glthread_rwlock_init_func()857 HANDLE event = gl_waitqueue_add (&lock->waiting_writers); in glthread_rwlock_wrlock_func()917 if (lock->waiting_writers.count > 0) in glthread_rwlock_unlock_func()921 gl_waitqueue_notify_first (&lock->waiting_writers); in glthread_rwlock_unlock_func()944 if (lock->waiting_writers.array != NULL) in glthread_rwlock_destroy_func()945 free (lock->waiting_writers.array); in glthread_rwlock_destroy_func()
240 pthread_cond_t waiting_writers; /* waiting writers */ member684 gl_carray_waitqueue_t waiting_writers; /* waiting writers */ member