kernel/include/ksched.h
/* check if a thread is on the timeout queue */
check if a thread is on the timeout queue
check if a thread is on the timeout queue
static inline int _is_thread_timeout_active(struct k_thread *thread)
{
#ifdef CONFIG_SYS_CLOCK_EXISTS
	return thread->base.timeout.delta_ticks_from_prev != _INACTIVE;
#else
	return 0;
#endif
}
static inline int _is_thread_timeout_active ( struct k_thread * thread ) { #ifdef CONFIG_SYS_CLOCK_EXISTS return thread -> base . timeout . delta_ticks_from_prev != _INACTIVE ; #else return 0 ; #endif }
check if a thread is on the timeout queue
check if a thread is on the timeout queue