kernel/unified/include/ksched.h
/* check if a thread is ready */
check if a thread is ready
check if a thread is ready
static inline int _is_thread_ready(struct k_thread *thread)
{
	return !(_is_thread_prevented_from_running(thread) ||
		 _is_thread_timeout_active(thread));
}
static inline int _is_thread_ready ( struct k_thread * thread ) { return ! ( _is_thread_prevented_from_running ( thread ) || _is_thread_timeout_active ( thread ) ) ; }
check if a thread is ready
check if a thread is ready