Method Thread.Thread()->status()


Method status

int status()

Description

Returns the status of the thread.

Returns
Thread.THREAD_NOT_STARTED

The thread has not yet started executing.

Thread.THREAD_RUNNING

The thread has started and has not yet terminated.

Thread.THREAD_EXITED

The thread has terminated by returning a value from the thread function.

Thread.THREAD_ABORTED

The thread has terminated by throwing an uncaught error.