Lines Matching defs:mutex
62 pthread_mutex_t mutex; ///< Mutex used to protect the contents of the PerThreadContext.
144 pthread_mutex_lock(&p->mutex);
147 pthread_cond_wait(&p->input_cond, &p->mutex);
181 pthread_mutex_unlock(&p->mutex);
327 pthread_mutex_lock(&p->mutex);
342 pthread_mutex_unlock(&p->mutex);
352 pthread_mutex_unlock(&p->mutex);
562 pthread_mutex_lock(&p->mutex);
564 pthread_mutex_unlock(&p->mutex);
582 pthread_mutex_destroy(&p->mutex);
642 pthread_mutex_init(&p->mutex, NULL);