Java Threads
new
thread is in the "New Thread" state. It
is no running.start()
method
is called. A call to this method results in the creation of an
execution context for the thread and a call to the thread's
run
method. sleep
, wait
, or is blocking on
I/O.run
method must return. An external stop has to be "soft", as in
previous slide.isAlive
method return true if the thread is
in either the Runnable or "not Runnable" states.5 of 8