zephyr::raw

Function k_thread_resume

Source
pub unsafe extern "C" fn k_thread_resume(thread: *mut k_thread)
Expand description

@brief Resume a suspended thread.

This routine reverses the thread suspension from k_thread_suspend() and allows the kernel scheduler to make @a thread the current thread when it is next eligible for that role.

If @a thread is not currently suspended, the routine has no effect.

@param thread ID of thread to resume.