Home
last modified time | relevance | path

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

/freebsd/contrib/lib9p/
H A Dthreadpool.c51 pthread_mutex_lock(&tp->ltp_mtx); in l9p_responder()
53 pthread_cond_wait(&tp->ltp_reply_cv, &tp->ltp_mtx); in l9p_responder()
55 pthread_mutex_unlock(&tp->ltp_mtx); in l9p_responder()
70 pthread_mutex_unlock(&tp->ltp_mtx); in l9p_responder()
86 pthread_mutex_lock(&tp->ltp_mtx); in l9p_worker()
89 pthread_cond_wait(&tp->ltp_work_cv, &tp->ltp_mtx); in l9p_worker()
98 pthread_mutex_unlock(&tp->ltp_mtx); in l9p_worker()
104 pthread_mutex_lock(&tp->ltp_mtx); in l9p_worker()
112 pthread_mutex_unlock(&tp->ltp_mtx); in l9p_worker()
167 error = pthread_mutex_init(&tp->ltp_mtx, NULL); in l9p_threadpool_init()
[all …]
H A Dthreadpool.h50 pthread_mutex_t ltp_mtx; /* locks queues and cond vars */ member