Lines Matching full:mu
90 pthread_mutex_t mu;
97 if (pthread_mutex_init(&ev->mu, 0))
111 pthread_mutex_lock(&ev->mu);
115 pthread_mutex_unlock(&ev->mu);
121 pthread_mutex_lock(&ev->mu);
123 pthread_cond_wait(&ev->cv, &ev->mu);
124 pthread_mutex_unlock(&ev->mu);
129 pthread_mutex_lock(&ev->mu);
131 pthread_mutex_unlock(&ev->mu);
139 pthread_mutex_lock(&ev->mu);
147 pthread_cond_timedwait(&ev->cv, &ev->mu, &ts);
153 pthread_mutex_unlock(&ev->mu);