zephyr::raw

Function k_thread_start

source
pub unsafe extern "C" fn k_thread_start(thread: *mut k_thread)
Expand description

@brief Start an inactive thread

If a thread was created with K_FOREVER in the delay parameter, it will not be added to the scheduling queue until this function is called on it.

@note This is a legacy API for compatibility. Modern Zephyr threads are initialized in the “suspended” state and no not need special handling for “start”.

@param thread thread to start