Lines Matching full:mu
100 pthread_mutex_t mu;
107 if (pthread_mutex_init(&ev->mu, 0))
121 pthread_mutex_lock(&ev->mu);
125 pthread_mutex_unlock(&ev->mu);
131 pthread_mutex_lock(&ev->mu);
133 pthread_cond_wait(&ev->cv, &ev->mu);
134 pthread_mutex_unlock(&ev->mu);
139 pthread_mutex_lock(&ev->mu);
141 pthread_mutex_unlock(&ev->mu);
149 pthread_mutex_lock(&ev->mu);
157 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
163 pthread_mutex_unlock(&ev->mu);