Lines Matching full:mu
80 pthread_mutex_t mu;
87 if (pthread_mutex_init(&ev->mu, 0))
101 pthread_mutex_lock(&ev->mu);
105 pthread_mutex_unlock(&ev->mu);
111 pthread_mutex_lock(&ev->mu);
113 pthread_cond_wait(&ev->cv, &ev->mu);
114 pthread_mutex_unlock(&ev->mu);
119 pthread_mutex_lock(&ev->mu);
121 pthread_mutex_unlock(&ev->mu);
129 pthread_mutex_lock(&ev->mu);
137 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
143 pthread_mutex_unlock(&ev->mu);