osThreadSetPriority() is only used within FreeRTOS.
 
Symbols
loading...
Files
loading...

osThreadSetPriority() function

Change priority of an active thread.

Syntax

osStatus osThreadSetPriority (osThreadId thread_id,     osPriority priority);
Implemented in cmsis_os.c:284

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.

References

Call Tree

Functions called by osThreadSetPriority()
osThreadSetPriority()
Data read by osThreadSetPriority()
osThreadSetPriority()
Type of osThreadSetPriority()
osThreadSetPriority()
all items filtered out