Lines Matching refs:thread_id
83 pthread_t thread_id = pthread_self(); in gki_task_entry() local
87 p_pthread_info->task_id, gki_cb.os.thread_id[p_pthread_info->task_id], in gki_task_entry()
90 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; in gki_task_entry()
96 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; in gki_task_entry()
230 ret = pthread_create(&gki_cb.os.thread_id[task_id], &attr1, gki_task_entry, in GKI_create_task()
238 if (pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, ¶m) == in GKI_create_task()
250 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, ¶m); in GKI_create_task()
254 task_entry, task_id, gki_cb.os.thread_id[task_id], in GKI_create_task()
308 result = pthread_join(gki_cb.os.thread_id[task_id - 1], NULL); in GKI_shutdown()
636 gki_cb.os.thread_id[rtask] = 0; in GKI_wait()
773 pthread_t thread_id = pthread_self(); in GKI_get_taskid() local
775 if (gki_cb.os.thread_id[i] == thread_id) { in GKI_get_taskid()