kernel/include/ksched.h
/* mark a thread as pending in its TCS */
mark a thread as pending in its TCS
mark a thread as pending in its TCS
static inline void _mark_thread_as_pending(struct k_thread *thread)
{
	thread->base.thread_state |= _THREAD_PENDING;
#ifdef CONFIG_KERNEL_EVENT_LOGGER_THREAD
	_sys_k_event_logger_thread_pend(thread);
#endif
}
static inline void _mark_thread_as_pending ( struct k_thread * thread ) { thread -> base . thread_state |= _THREAD_PENDING ; #ifdef CONFIG_KERNEL_EVENT_LOGGER_THREAD _sys_k_event_logger_thread_pend ( thread ) ; #endif }
mark a thread as pending in its TCS
mark a thread as pending in its TCS