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.
Examples
osThreadSetPriority() is referenced by 2 libraries and example projects: