[][src]Function cmsis_rtos2::cmsis_os2::osThreadGetPriority

pub unsafe extern "C" fn osThreadGetPriority(
    thread_id: osThreadId_t
) -> osPriority_t

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.