Searched refs:current_tid (Results 1 – 3 of 3) sorted by relevance
174 current_tid = MASTER_THREAD; in sched_init()177 (unsigned)lthreads[current_tid].context); in sched_init()193 current_tid = new; \ in thread_yield()208 if (current_tid != 0) { in thread_yield()209 for (i = 0; i <= current_tid; i++) { in thread_yield()241 if (current_tid == id) in thread_delete()251 (unsigned)lthreads[current_tid].func); in thread_launcher()253 lthreads[current_tid].retval = in thread_launcher()254 lthreads[current_tid].func (lthreads[current_tid].arg); in thread_launcher()277 current_tid = id; in thread_start()[all …]
63 pid_t *current_tid; member
155 machine->current_tid = NULL; in machine__init()255 zfree(&machine->current_tid); in machine__exit()3265 return machine->current_tid[cpu]; in machine__get_current_tid()3277 if (realloc_array_as_needed(machine->current_tid, in machine__set_current_tid()3283 machine->current_tid[cpu] = tid; in machine__set_current_tid()