Lines Matching full:mu
96 pthread_mutex_t mu;
103 if (pthread_mutex_init(&ev->mu, 0))
117 pthread_mutex_lock(&ev->mu);
121 pthread_mutex_unlock(&ev->mu);
127 pthread_mutex_lock(&ev->mu);
129 pthread_cond_wait(&ev->cv, &ev->mu);
130 pthread_mutex_unlock(&ev->mu);
135 pthread_mutex_lock(&ev->mu);
137 pthread_mutex_unlock(&ev->mu);
145 pthread_mutex_lock(&ev->mu);
153 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
159 pthread_mutex_unlock(&ev->mu);