osThreadSetPriority() function
Change priority of a thread.
Arguments
thread_id
thread ID obtained by osThreadNew or osThreadGetId.
priority
new priority value for the thread function.
Return value
status code that indicates the execution status of the function.
osThreadSetPriority() calls 1 function:
![]()
osThreadSetPriority()
osThreadSetPriority() reads 6 variables:
![]()
osThreadSetPriority()