Lines Matching refs:mutex
79 /* Lock the mutex to protect the critical section */
80 pthread_mutex_lock(&ptr_q->mutex);
95 /* Unlock the mutex to release the critical section */
96 pthread_mutex_unlock(&ptr_q->mutex);
114 /* Lock the mutex to protect the critical section */
115 pthread_mutex_lock(&ptr_q->mutex);
130 /* Unlock the mutex to release the critical section */
131 pthread_mutex_unlock(&ptr_q->mutex);
151 /* Lock the mutex to protect the critical section */
152 pthread_mutex_lock(&ptr_q->mutex);
167 /* Unlock the mutex to release the critical section */
168 pthread_mutex_unlock(&ptr_q->mutex);