Lines Matching refs:evtq_lock
156 static pthread_mutex_t evtq_lock = PTHREAD_MUTEX_INITIALIZER; variable
383 (void) pthread_mutex_lock(&evtq_lock); in ptree_post_event()
386 (void) pthread_mutex_unlock(&evtq_lock); in ptree_post_event()
400 (void) pthread_mutex_lock(&evtq_lock); in ptree_event_thread()
407 (void) pthread_cond_wait(&evtq_cv, &evtq_lock); in ptree_event_thread()
410 (void) pthread_mutex_unlock(&evtq_lock); in ptree_event_thread()
414 (void) pthread_mutex_unlock(&evtq_lock); in ptree_event_thread()
3335 if (pthread_mutex_init(&evtq_lock, NULL) != 0) in picltree_init()
3597 (void) pthread_mutex_lock(&evtq_lock); in xptree_reinitialize()
3600 (void) pthread_cond_wait(&evtq_empty, &evtq_lock); in xptree_reinitialize()
3602 (void) pthread_mutex_unlock(&evtq_lock); in xptree_reinitialize()
3618 (void) pthread_mutex_lock(&evtq_lock); in xptree_reinitialize()
3620 (void) pthread_mutex_unlock(&evtq_lock); in xptree_reinitialize()