Function osThreadGetPriority

Source
pub unsafe extern "C" fn osThreadGetPriority(
    thread_id: osThreadId_t,
) -> osPriority_t
Expand description

Get current priority of a thread. \param[in] thread_id thread ID obtained by \ref osThreadNew or \ref osThreadGetId. \return current priority value of the specified thread.