Lines Matching full:mu
97 pthread_mutex_t mu;
104 if (pthread_mutex_init(&ev->mu, 0))
118 pthread_mutex_lock(&ev->mu);
122 pthread_mutex_unlock(&ev->mu);
128 pthread_mutex_lock(&ev->mu);
130 pthread_cond_wait(&ev->cv, &ev->mu);
131 pthread_mutex_unlock(&ev->mu);
136 pthread_mutex_lock(&ev->mu);
138 pthread_mutex_unlock(&ev->mu);
146 pthread_mutex_lock(&ev->mu);
154 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
160 pthread_mutex_unlock(&ev->mu);