Searched refs:has_active_threads (Results 1 – 2 of 2) sorted by relevance
83 pthreadpool_store_release_uint32_t(&threadpool->has_active_threads, 0); in checkin_worker_thread()84 futex_wake_all(&threadpool->has_active_threads); in checkin_worker_thread()98 uint32_t has_active_threads = pthreadpool_load_acquire_uint32_t(&threadpool->has_active_threads); in wait_worker_threads() local99 if (has_active_threads == 0) { in wait_worker_threads()114 has_active_threads = pthreadpool_load_acquire_uint32_t(&threadpool->has_active_threads); in wait_worker_threads()115 if (has_active_threads == 0) { in wait_worker_threads()128 …while ((has_active_threads = pthreadpool_load_acquire_uint32_t(&threadpool->has_active_threads)) !… in wait_worker_threads()129 futex_wait(&threadpool->has_active_threads, 1); in wait_worker_threads()279 pthreadpool_store_relaxed_uint32_t(&threadpool->has_active_threads, 1); in pthreadpool_create()327 pthreadpool_store_relaxed_uint32_t(&threadpool->has_active_threads, 1); in pthreadpool_parallelize()[all …]
598 pthreadpool_atomic_uint32_t has_active_threads; member