The following diagram shows the life cycle of a Java Thread. Thread has following states : Start, Stop, Blocked, Running, Runnable. These states can be changed to each other as shown in the diagram. Thread can sleep, notify, resume, start, stop, suspend, yield and wait. These activities lead the thread from one state to move to another one.
Originally posted 2008-07-25 11:24:04.
