osThreadGetPriority() function
Get current priority of a thread.
Arguments
thread_id
thread ID obtained by osThreadNew or osThreadGetId.
Return value
current priority value of the specified thread.
osThreadGetPriority() calls 1 function:
![]()
osThreadGetPriority()
osThreadGetPriority() reads 2 variables:
![]()
osThreadGetPriority()