zephyr::raw

Function k_yield

source
pub unsafe extern "C" fn k_yield()
Expand description

@brief Yield the current thread.

This routine causes the current thread to yield execution to another thread of the same or higher priority. If there are no other ready threads of the same or higher priority, the routine returns immediately.