Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libc/port/tpool/
H A Dthread_pool.c77 ASSERT(MUTEX_HELD(&tpool->tp_mutex)); in worker_cleanup()
82 sig_mutex_unlock(&tpool->tp_mutex); in worker_cleanup()
89 sig_mutex_unlock(&tpool->tp_mutex); in worker_cleanup()
111 sig_mutex_lock(&tpool->tp_mutex); in job_cleanup()
133 sig_mutex_lock(&tpool->tp_mutex); in tpool_worker()
152 &tpool->tp_mutex); in tpool_worker()
159 &tpool->tp_mutex, &timeout) != 0) { in tpool_worker()
188 sig_mutex_unlock(&tpool->tp_mutex); in tpool_worker()
275 (void) mutex_init(&tpool->tp_mutex, USYNC_THREAD, NULL); in tpool_create()
340 sig_mutex_lock(&tpool->tp_mutex); in tpool_dispatch()
[all …]
H A Dthread_pool_impl.h68 mutex_t tp_mutex; /* protects the pool data */ member