Home
last modified time | relevance | path

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

/lk-master/kernel/include/kernel/
A Dmp.h93 static inline int mp_is_cpu_idle(uint cpu) { return (get_current_thread()->flags & THREAD_FLAG_IDLE in mp_is_cpu_idle()
A Dthread.h67 #define THREAD_FLAG_IDLE (1<<4) macro
/lk-master/kernel/
A Dthread.c257 return !!(t->flags & THREAD_FLAG_IDLE); in thread_is_idle()
261 return !!(t->flags & (THREAD_FLAG_REAL_TIME | THREAD_FLAG_IDLE)); in thread_is_real_time_or_idle()
862 t->flags |= THREAD_FLAG_IDLE; in thread_become_idle()
892 t->flags = THREAD_FLAG_DETACHED | THREAD_FLAG_IDLE; in thread_secondary_cpu_init_early()

Completed in 6 milliseconds