Lines Matching refs:mutex
73 /* Lock the mutex to protect the critical section */
74 pthread_mutex_lock(&ptr_q->mutex);
86 /* Unlock the mutex to release the critical section */
87 pthread_mutex_unlock(&ptr_q->mutex);
105 /* Lock the mutex to protect the critical section */
106 pthread_mutex_lock(&ptr_q->mutex);
110 /* Unlock the mutex to release the critical section */
111 pthread_mutex_unlock(&ptr_q->mutex);
120 /* Unlock the mutex to release the critical section */
121 pthread_mutex_unlock(&ptr_q->mutex);
141 /* Lock the mutex to protect the critical section */
142 pthread_mutex_lock(&ptr_q->mutex);
146 /* Unlock the mutex to release the critical section */
147 pthread_mutex_unlock(&ptr_q->mutex);
156 /* Unlock the mutex to release the critical section */
157 pthread_mutex_unlock(&ptr_q->mutex);