getState

open fun getState(): Thread.State

Gets the state of the thread (from java.lang.Thread)