osThreadGetState() function
Get current thread state of a thread.
Arguments
thread_id
thread ID obtained by osThreadNew or osThreadGetId.
Return value
current thread state of the specified thread.
Examples
osThreadGetState() is referenced by 8 libraries and example projects: