Lines Matching full:mu
105 pthread_mutex_t mu;
112 if (pthread_mutex_init(&ev->mu, 0))
126 pthread_mutex_lock(&ev->mu);
130 pthread_mutex_unlock(&ev->mu);
136 pthread_mutex_lock(&ev->mu);
138 pthread_cond_wait(&ev->cv, &ev->mu);
139 pthread_mutex_unlock(&ev->mu);
144 pthread_mutex_lock(&ev->mu);
146 pthread_mutex_unlock(&ev->mu);
154 pthread_mutex_lock(&ev->mu);
162 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
168 pthread_mutex_unlock(&ev->mu);