osThreadSetPriority() function
Change priority of an active thread.
Arguments
thread_id
thread ID obtained by osThreadCreate or osThreadGetId.
priority
new priority value for the thread function.
Return value
status code that indicates the execution status of the function.
Notes
MUST REMAIN UNCHANGED: \b osThreadSetPriority shall be consistent in every CMSIS-RTOS.
Functions called by osThreadSetPriority()
osThreadSetPriority()
Data read by osThreadSetPriority()
osThreadSetPriority()
Type of osThreadSetPriority()
osThreadSetPriority()