Lines Matching full:mu
86 pthread_mutex_t mu;
93 if (pthread_mutex_init(&ev->mu, 0))
107 pthread_mutex_lock(&ev->mu);
111 pthread_mutex_unlock(&ev->mu);
117 pthread_mutex_lock(&ev->mu);
119 pthread_cond_wait(&ev->cv, &ev->mu);
120 pthread_mutex_unlock(&ev->mu);
125 pthread_mutex_lock(&ev->mu);
127 pthread_mutex_unlock(&ev->mu);
135 pthread_mutex_lock(&ev->mu);
143 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
149 pthread_mutex_unlock(&ev->mu);