Home
last modified time | relevance | path

Searched refs:waiting_threads (Results 1 – 2 of 2) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dcnd_broadcast.c22 static unsigned int waiting_threads; variable
29 ++waiting_threads; in child_wait()
62 if (waiting_threads > N) { in cnd_broadcast_0100()
65 bool done_waiting = waiting_threads == N; in cnd_broadcast_0100()
/third_party/glib/glib/
Dgasyncqueue.c101 guint waiting_threads; member
145 queue->waiting_threads = 0; in g_async_queue_new_full()
229 g_return_if_fail (queue->waiting_threads == 0); in g_async_queue_unref()
315 if (queue->waiting_threads > 0) in g_async_queue_push_unlocked()
402 if (queue->waiting_threads > 0) in g_async_queue_push_sorted_unlocked()
415 queue->waiting_threads++; in g_async_queue_pop_intern_unlocked()
426 queue->waiting_threads--; in g_async_queue_pop_intern_unlocked()
685 retval = queue->queue.length - queue->waiting_threads; in g_async_queue_length()
713 return queue->queue.length - queue->waiting_threads; in g_async_queue_length_unlocked()
892 if (queue->waiting_threads > 0) in g_async_queue_push_front_unlocked()