Searched refs:list_mutex (Results 1 – 4 of 4) sorted by relevance
42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()[all …]