Home
last modified time | relevance | path

Searched refs:wake_idle (Results 1 - 1 of 1) sorted by relevance

/third_party/libwebsockets/lib/misc/threadpool/
H A Dthreadpool.c61 pthread_cond_t wake_idle; member
74 pthread_mutex_t lock; /* part of task wake_idle */
82 pthread_cond_t wake_idle; member
456 if (pthread_cond_timedwait(&task->wake_idle, &pool->lock, in lws_threadpool_worker_sync()
506 * the wake_idle condition to signal us that might have changed in lws_threadpool_worker()
509 pthread_cond_wait(&tp->wake_idle, &tp->lock); in lws_threadpool_worker()
717 pthread_cond_init(&tp->wake_idle, NULL); in lws_threadpool_create()
768 pthread_cond_broadcast(&tp->wake_idle); in lws_threadpool_finish()
801 pthread_cond_broadcast(&tp->wake_idle); in lws_threadpool_destroy()
988 * first, then any free thread may pick it up after the wake_idle in lws_threadpool_enqueue()
[all...]

Completed in 3 milliseconds