Searched refs:thread_evt_mutex (Results 1 – 4 of 4) sorted by relevance
244 pthread_mutex_init(&gki_cb.os.thread_evt_mutex[task_id], NULL); in GKI_create_task()669 pthread_mutex_lock(&gki_cb.os.thread_evt_mutex[rtask]); in GKI_wait()709 &gki_cb.os.thread_evt_mutex[rtask], &abstime); in GKI_wait()714 … pthread_cond_wait(&gki_cb.os.thread_evt_cond[rtask], &gki_cb.os.thread_evt_mutex[rtask]); in GKI_wait()735 pthread_mutex_unlock(&gki_cb.os.thread_evt_mutex[rtask]); in GKI_wait()754 pthread_mutex_unlock(&gki_cb.os.thread_evt_mutex[rtask]); in GKI_wait()828 pthread_mutex_lock(&gki_cb.os.thread_evt_mutex[task_id]); in GKI_send_event()835 pthread_mutex_unlock(&gki_cb.os.thread_evt_mutex[task_id]); in GKI_send_event()1228 pthread_mutex_destroy(&gki_cb.os.thread_evt_mutex[task_id]); in GKI_exit_task()
35 pthread_mutex_t thread_evt_mutex[GKI_MAX_TASKS]; member
241 pthread_mutex_init(&gki_cb.os.thread_evt_mutex[task_id], NULL); in GKI_create_task()646 pthread_mutex_lock(&gki_cb.os.thread_evt_mutex[rtask]); in GKI_wait()686 &gki_cb.os.thread_evt_mutex[rtask], &abstime); in GKI_wait()691 … pthread_cond_wait(&gki_cb.os.thread_evt_cond[rtask], &gki_cb.os.thread_evt_mutex[rtask]); in GKI_wait()712 pthread_mutex_unlock(&gki_cb.os.thread_evt_mutex[rtask]); in GKI_wait()731 pthread_mutex_unlock(&gki_cb.os.thread_evt_mutex[rtask]); in GKI_wait()805 pthread_mutex_lock(&gki_cb.os.thread_evt_mutex[task_id]); in GKI_send_event()812 pthread_mutex_unlock(&gki_cb.os.thread_evt_mutex[task_id]); in GKI_send_event()1205 pthread_mutex_destroy(&gki_cb.os.thread_evt_mutex[task_id]); in GKI_exit_task()