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 “sleeping” state and do not need special handling for “start”.

@param thread thread to start