Searched refs:tp_mutex (Results 1 – 2 of 2) sorted by relevance
64 pthread_mutex_unlock(&tpool->tp_mutex); in worker_cleanup()71 pthread_mutex_unlock(&tpool->tp_mutex); in worker_cleanup()94 pthread_mutex_lock(&tpool->tp_mutex); in job_cleanup()117 pthread_mutex_lock(&tpool->tp_mutex); in tpool_worker()136 &tpool->tp_mutex); in tpool_worker()143 &tpool->tp_mutex, &timeout) != 0) { in tpool_worker()172 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_worker()239 (void) pthread_mutex_init(&tpool->tp_mutex, NULL); in tpool_create()273 pthread_mutex_lock(&tpool->tp_mutex); in tpool_dispatch()290 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_dispatch()[all …]
72 mutex_t tp_mutex; /* protects the pool data */ member