GetState
This function gets the current state of a thread.
This command is not available for Lua.
Returns
Returns the thread state. This may be one of the following values:
Thread::Running: the thread is still running.
Thread::Finished: the thread is finished running.