Lines Matching full:mu
129 pthread_mutex_t mu;
136 if (pthread_mutex_init(&ev->mu, 0))
150 pthread_mutex_lock(&ev->mu);
154 pthread_mutex_unlock(&ev->mu);
160 pthread_mutex_lock(&ev->mu);
162 pthread_cond_wait(&ev->cv, &ev->mu);
163 pthread_mutex_unlock(&ev->mu);
168 pthread_mutex_lock(&ev->mu);
170 pthread_mutex_unlock(&ev->mu);
178 pthread_mutex_lock(&ev->mu);
186 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
192 pthread_mutex_unlock(&ev->mu);