zephyr::raw

Function k_thread_priority_get

source
pub unsafe extern "C" fn k_thread_priority_get(
    thread: *mut k_thread,
) -> i32
Expand description

@brief Get a thread’s priority.

This routine gets the priority of @a thread.

@param thread ID of thread whose priority is needed.

@return Priority of @a thread.