Home
last modified time | relevance | path

Searched refs:thread_is_idle (Results 1 – 1 of 1) sorted by relevance

/lk-master/kernel/
A Dthread.c256 static bool thread_is_idle(thread_t *t) { in thread_is_idle() function
386 DEBUG_ASSERT(!thread_is_idle(current_thread)); in thread_exit()
502 if (thread_is_idle(newthread)) { in thread_resched()
518 if (thread_is_idle(oldthread)) { in thread_resched()
522 if (thread_is_idle(newthread)) { in thread_resched()
552 target_set_debug_led(0, !thread_is_idle(newthread)); in thread_resched()
618 if (likely(!thread_is_idle(current_thread))) { /* idle thread doesn't go in the run queue */ in thread_yield()
648 if (!thread_is_idle(current_thread)) in thread_preempt()
685 DEBUG_ASSERT(!thread_is_idle(current_thread)); in thread_block()
695 DEBUG_ASSERT(!thread_is_idle(t)); in thread_unblock()
[all …]

Completed in 3 milliseconds