How do you determine if a thread is running?
To be precise,
Thread.isAlive() returns true if the thread has been started (may not yet be running) but has not yet completed its run method.
Thread.isAlive()
Thread.getState() returns the exact state of the thread.
Thread.getState()