osThreadGetState() function
Obtain the state of any thread.
Arguments
thread_id
thread ID obtained by osThreadCreate or osThreadGetId.
Return value
the stae of the thread, states are encoded by the osThreadState enumerated type.
Examples
osThreadGetState() is referenced by
6 libraries and example projects.
Location | Text |
cmsis_os.c:1381 | osThreadState osThreadGetState(osThreadId thread_id) |
cmsis_os.h:898 | osThreadState osThreadGetState(osThreadId thread_id); |
Functions called by osThreadGetState()
osThreadGetState()
Data read by osThreadGetState()
Data written by osThreadGetState()
osThreadGetState()::ThreadState osThreadGetState()::result all items filtered out
osThreadGetState()
osThreadGetState()::ThreadState osThreadGetState()::result all items filtered out
Type of osThreadGetState()
osThreadGetState()