Lines Matching refs:thread
36 thread_t* thread; member
46 static bool thread_is_blocked(volatile thread_t* thread) { in thread_is_blocked() argument
47 return thread->state == THREAD_BLOCKED; in thread_is_blocked()
93 thread_t* next = smptest_thread[next_cpu].thread; in smptest_thread_func()
121 if (!thread_is_blocked(smptest_thread[i].thread)) { in TEST()
138 thread_is_blocked(smptest_thread[i].thread), in TEST()
159 if (thread_is_blocked(smptest_thread[0].thread)) { in TEST()
160 thread_unblock(smptest_thread[0].thread, false); in TEST()
220 smpt->thread = thread_create(thread_name, smptest_thread_func, in smptest_setup()
223 thread_set_pinned_cpu(smpt->thread, cpu); in smptest_setup()
228 thread_resume(smptest_thread[cpu].thread); in smptest_setup()