Lines Matching full:mu
131 pthread_mutex_t mu;
138 if (pthread_mutex_init(&ev->mu, 0))
152 pthread_mutex_lock(&ev->mu);
156 pthread_mutex_unlock(&ev->mu);
162 pthread_mutex_lock(&ev->mu);
164 pthread_cond_wait(&ev->cv, &ev->mu);
165 pthread_mutex_unlock(&ev->mu);
170 pthread_mutex_lock(&ev->mu);
172 pthread_mutex_unlock(&ev->mu);
180 pthread_mutex_lock(&ev->mu);
188 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
194 pthread_mutex_unlock(&ev->mu);