Lines Matching full:mu
101 pthread_mutex_t mu;
108 if (pthread_mutex_init(&ev->mu, 0))
122 pthread_mutex_lock(&ev->mu);
126 pthread_mutex_unlock(&ev->mu);
132 pthread_mutex_lock(&ev->mu);
134 pthread_cond_wait(&ev->cv, &ev->mu);
135 pthread_mutex_unlock(&ev->mu);
140 pthread_mutex_lock(&ev->mu);
142 pthread_mutex_unlock(&ev->mu);
150 pthread_mutex_lock(&ev->mu);
158 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
164 pthread_mutex_unlock(&ev->mu);