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