Searched refs:waiting_writers (Results 1 – 4 of 4) sorted by relevance
128 glwthread_waitqueue_init (&lock->waiting_writers); in glwthread_rwlock_init()156 if (!(lock->runcount + 1 > 0 && lock->waiting_writers.count == 0)) in glwthread_rwlock_rdlock()217 HANDLE event = glwthread_waitqueue_add (&lock->waiting_writers); in glwthread_rwlock_wrlock()275 if (!(lock->runcount + 1 > 0 && lock->waiting_writers.count == 0)) in glwthread_rwlock_tryrdlock()346 if (lock->waiting_writers.count > 0) in glwthread_rwlock_unlock()350 glwthread_waitqueue_notify_first (&lock->waiting_writers); in glwthread_rwlock_unlock()373 if (lock->waiting_writers.array != NULL) in glwthread_rwlock_destroy()374 free (lock->waiting_writers.array); in glwthread_rwlock_destroy()
75 || cnd_init (&lock->waiting_writers) != thrd_success) in glthread_rwlock_init()123 if (cnd_wait (&lock->waiting_writers, &lock->lock) != thrd_success) in glthread_rwlock_wrlock()171 if (cnd_signal (&lock->waiting_writers) != thrd_success) in glthread_rwlock_unlock()199 cnd_destroy (&lock->waiting_writers); in glthread_rwlock_destroy()389 err = pthread_cond_init (&lock->waiting_writers, NULL); in glthread_rwlock_init_multithreaded()438 err = pthread_cond_wait (&lock->waiting_writers, &lock->lock); in glthread_rwlock_wrlock_multithreaded()486 err = pthread_cond_signal (&lock->waiting_writers); in glthread_rwlock_unlock_multithreaded()518 err = pthread_cond_destroy (&lock->waiting_writers); in glthread_rwlock_destroy_multithreaded()
45 glwthread_carray_waitqueue_t waiting_writers; /* waiting writers */ member
140 cnd_t waiting_writers; /* waiting writers */ member383 pthread_cond_t waiting_writers; /* waiting writers */ member