Home
last modified time | relevance | path

Searched refs:list_mutex (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/gps/msm8960/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 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 …]
/hardware/qcom/gps/msm8994/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 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 …]
/hardware/qcom/gps/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 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 …]
/hardware/qcom/gps/msm8996/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 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 …]
/hardware/qcom/gps/msm8084/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 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 …]
/hardware/qcom/gps/msm8909/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 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 …]