[−][src]Function cmsis_rtos2::cmsis_os2::osThreadSetPriority
pub unsafe extern "C" fn osThreadSetPriority(
thread_id: osThreadId_t,
priority: osPriority_t
) -> osStatus_t
Change priority of a thread. \param[in] thread_id thread ID obtained by \ref osThreadNew or \ref osThreadGetId. \param[in] priority new priority value for the thread function. \return status code that indicates the execution status of the function.