Lines Matching full:mutex
136 * Acquire mutex before use.
144 pthread_mutex_t mutex;
158 /** Keeps track of recently dead peers. Requires mutex. */
178 * Requires mutex.
256 pthread_mutex_lock(&peer->mutex);
261 pthread_mutex_unlock(&peer->mutex);
286 /** Adds a packet to the end of the queue. Callers must have the mutex. */
1108 if (pthread_mutex_init(&peer->mutex, &attributes) != 0) {