Lines Matching refs:tp_mutex

81 			pthread_mutex_unlock(&tpool->tp_mutex);  in worker_cleanup()
88 pthread_mutex_unlock(&tpool->tp_mutex); in worker_cleanup()
112 pthread_mutex_lock(&tpool->tp_mutex); in job_cleanup()
133 pthread_mutex_lock(&tpool->tp_mutex); in tpool_worker()
152 &tpool->tp_mutex); in tpool_worker()
160 &tpool->tp_mutex, &ts) != 0) { in tpool_worker()
190 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_worker()
362 (void) pthread_mutex_init(&tpool->tp_mutex, NULL); in tpool_create()
425 pthread_mutex_lock(&tpool->tp_mutex); in tpool_dispatch()
440 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_dispatch()
454 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_dispatch()
463 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_cleanup()
479 pthread_mutex_lock(&tpool->tp_mutex); in tpool_destroy()
494 (void) pthread_cond_wait(&tpool->tp_waitcv, &tpool->tp_mutex); in tpool_destroy()
499 (void) pthread_cond_wait(&tpool->tp_busycv, &tpool->tp_mutex); in tpool_destroy()
514 pthread_mutex_lock(&tpool->tp_mutex); in tpool_abandon()
517 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_abandon()
524 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_abandon()
538 pthread_mutex_lock(&tpool->tp_mutex); in tpool_wait()
542 (void) pthread_cond_wait(&tpool->tp_waitcv, &tpool->tp_mutex); in tpool_wait()
553 pthread_mutex_lock(&tpool->tp_mutex); in tpool_suspend()
555 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_suspend()
565 pthread_mutex_lock(&tpool->tp_mutex); in tpool_suspended()
567 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_suspended()
579 pthread_mutex_lock(&tpool->tp_mutex); in tpool_resume()
581 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_resume()
592 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_resume()
603 pthread_mutex_lock(&tpool->tp_mutex); in tpool_member()
606 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_member()
610 pthread_mutex_unlock(&tpool->tp_mutex); in tpool_member()