Lines Matching defs:thread_id
102 pthread_t thread_id = pthread_self();
104 GKI_TRACE_5("gki_task_entry task_id=%i, thread_id=%x/%x, pCond/pMutex=%x/%x", p_pthread_info->task_id,
105 gki_cb.os.thread_id[p_pthread_info->task_id], pthread_self(),
108 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id;
113 gki_cb.os.thread_id[p_pthread_info->task_id] = 0;
255 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */
256 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */
263 ret = pthread_create( &gki_cb.os.thread_id[task_id],
274 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, ¶m)==0)
288 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, ¶m);
294 gki_cb.os.thread_id[task_id],
350 result = pthread_join( gki_cb.os.thread_id[task_id-1], NULL );
714 gki_cb.os.thread_id[rtask] = 0;
866 pthread_t thread_id = pthread_self( );
868 if (gki_cb.os.thread_id[i] == thread_id) {
869 GKI_TRACE_2("GKI_get_taskid %x %d done", thread_id, i);
874 GKI_TRACE_1("GKI_get_taskid: thread id = %x, task id = -1", thread_id);