Home | History | Annotate | Download | only in ulinux

Lines Matching refs:thread_id

103     pthread_t thread_id = pthread_self();
105 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
106 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(),
109 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id;
114 gki_cb.os.thread_id[p_pthread_info->task_id] = 0;
256 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */
257 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */
264 ret = pthread_create( &gki_cb.os.thread_id[task_id],
275 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, &param)==0)
289 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, &param);
295 gki_cb.os.thread_id[task_id],
351 result = pthread_join( gki_cb.os.thread_id[task_id-1], NULL );
715 gki_cb.os.thread_id[rtask] = 0;
867 pthread_t thread_id = pthread_self( );
869 if (gki_cb.os.thread_id[i] == thread_id) {
870 GKI_TRACE_2("GKI_get_taskid %x %d done", thread_id, i);
875 GKI_TRACE_1("GKI_get_taskid: thread id = %x, task id = -1", thread_id);