Searched refs:current_tid (Results 1 – 4 of 4) sorted by relevance
57 static volatile int current_tid = MASTER_THREAD; variable174 current_tid = MASTER_THREAD; in sched_init()175 lthreads[current_tid].state = STATE_RUNNABLE; in sched_init()177 (unsigned)lthreads[current_tid].context); in sched_init()185 PDEBUG ("thread_yield: current tid=%d", current_tid); in thread_yield()191 (unsigned)lthreads[current_tid].context); \ in thread_yield()192 if(setjmp(lthreads[current_tid].context) == 0) { \ in thread_yield()193 current_tid = new; \ in thread_yield()204 for (i = current_tid + 1; i < MAX_THREADS; i++) { in thread_yield()208 if (current_tid != 0) { in thread_yield()[all …]
111 u32 current_tid = GetCurrentTidOrInvalid(); in INTERCEPTOR_WINAPI() local113 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR_WINAPI()
264 u32 current_tid = GetCurrentTidOrInvalid(); in INTERCEPTOR() local266 AsanThread::Create(start_routine, arg, current_tid, &stack, detached); in INTERCEPTOR()
643 u32 current_tid = GetCurrentTidOrInvalid(); in ScopedInErrorReport() local644 if (reporting_thread_tid_ == current_tid || in ScopedInErrorReport()