Searched refs:threaded_mtx (Results 1 – 1 of 1) sorted by relevance
279 static pthread_mutex_t threaded_mtx; variable290 if (pthread_mutex_lock(&threaded_mtx) != 0) in juggling_thread()298 if (pthread_mutex_unlock(&threaded_mtx) != 0) in juggling_thread()323 if (pthread_mutex_init(&threaded_mtx, NULL) != 0) in thread_juggle()329 if (pthread_mutex_lock(&threaded_mtx) != 0) in thread_juggle()333 if (pthread_cond_wait(&threaded_cond, &threaded_mtx) != 0) in thread_juggle()337 if (pthread_mutex_unlock(&threaded_mtx) != 0) in thread_juggle()