Home | History | Annotate | Download | only in ulinux

Lines Matching defs:thread_id

267     gki_cb.os.thread_id[p_pthread_info->task_id] = pthread_self();
413 /* On Android, the new tasks starts running before 'gki_cb.os.thread_id[task_id]' is initialized */
414 /* Pass task_id to new task so it can initialize gki_cb.os.thread_id[task_id] for it calls GKI_wait */
419 ret = pthread_create( &gki_cb.os.thread_id[task_id],
430 if(pthread_getschedparam(gki_cb.os.thread_id[task_id], &policy, &param)==0)
451 pthread_setschedparam(gki_cb.os.thread_id[task_id], policy, &param);
457 (int)gki_cb.os.thread_id[task_id],
508 result = pthread_join( gki_cb.os.thread_id[task_id], NULL );
580 pthread_detach(gki_cb.os.thread_id[task_id]);
629 result = pthread_join( gki_cb.os.thread_id[task_id-1], NULL );
950 pthread_t thread_id = pthread_self( );
952 GKI_TRACE("GKI_get_taskid %x", (int)thread_id);
955 if (gki_cb.os.thread_id[i] == thread_id) {
956 //GKI_TRACE("GKI_get_taskid %x %d done", thread_id, i);