Home
last modified time | relevance | path

Searched refs:waiting_readers (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/interprocess/test/
Dcondition_test_template.hpp259 static volatile int waiting_readers = 0; variable
277 ++waiting_readers; in operator ()()
279 --waiting_readers; in operator ()()
303 waiting_readers = 0; in do_test_condition_queue_notify_one()
323 if(waiting_readers) in do_test_condition_queue_notify_one()
330 BOOST_INTERPROCESS_CHECK(waiting_readers == 0); in do_test_condition_queue_notify_one()
348 waiting_readers = 0; in do_test_condition_queue_notify_all()
367 if(waiting_readers) in do_test_condition_queue_notify_all()
374 BOOST_INTERPROCESS_CHECK(waiting_readers == 0); in do_test_condition_queue_notify_all()
/third_party/gettext/gettext-runtime/intl/
Dwindows-rwlock.c127 glwthread_waitqueue_init (&lock->waiting_readers); in glwthread_rwlock_init()
160 HANDLE event = glwthread_waitqueue_add (&lock->waiting_readers); in glwthread_rwlock_rdlock()
355 lock->runcount += lock->waiting_readers.count; in glwthread_rwlock_unlock()
356 glwthread_waitqueue_notify_all (&lock->waiting_readers); in glwthread_rwlock_unlock()
371 if (lock->waiting_readers.array != NULL) in glwthread_rwlock_destroy()
372 free (lock->waiting_readers.array); in glwthread_rwlock_destroy()
Dlock.c74 || cnd_init (&lock->waiting_readers) != thrd_success in glthread_rwlock_init()
98 if (cnd_wait (&lock->waiting_readers, &lock->lock) != thrd_success) in glthread_rwlock_rdlock()
180 if (cnd_broadcast (&lock->waiting_readers) != thrd_success) in glthread_rwlock_unlock()
198 cnd_destroy (&lock->waiting_readers); in glthread_rwlock_destroy()
386 err = pthread_cond_init (&lock->waiting_readers, NULL); in glthread_rwlock_init_multithreaded()
413 err = pthread_cond_wait (&lock->waiting_readers, &lock->lock); in glthread_rwlock_rdlock_multithreaded()
496 err = pthread_cond_broadcast (&lock->waiting_readers); in glthread_rwlock_unlock_multithreaded()
515 err = pthread_cond_destroy (&lock->waiting_readers); in glthread_rwlock_destroy_multithreaded()
Dwindows-rwlock.h44 glwthread_carray_waitqueue_t waiting_readers; /* waiting readers */ member
Dlock.h139 cnd_t waiting_readers; /* waiting readers */ member
382 pthread_cond_t waiting_readers; /* waiting readers */ member