Home | History | Annotate | Download | only in ulinux

Lines Matching defs:thread_id

105     pthread_t thread_id = pthread_self();
107 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
108 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(),
111 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id;
116 gki_cb.os.thread_id[p_pthread_info->task_id] = 0;
258 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */
259 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */
266 ret = pthread_create( &gki_cb.os.thread_id[task_id],
277 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, &param)==0)
291 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, &param);
297 gki_cb.os.thread_id[task_id],
350 result = pthread_join( gki_cb.os.thread_id[task_id-1], NULL );
737 gki_cb.os.thread_id[rtask] = 0;
889 pthread_t thread_id = pthread_self( );
891 if (gki_cb.os.thread_id[i] == thread_id) {
892 GKI_TRACE_2("GKI_get_taskid %x %d done", thread_id, i);
897 GKI_TRACE_1("GKI_get_taskid: thread id = %x, task id = -1", thread_id);