- NEW ---> A thread that has not yet started is in this state. In this state, no system resources have been allocated as yet.
- RUNNABLE ---> Once start method is invoked thread enter in this state.
- BLOCKED ---> A thread that is blocked waiting for a monitor lock is in this state.
- WAITING ---> A thread that is waiting indefinitely for another thread to perform a particular action is in this state.
- TIME_WAITING ---> A thread that is waiting for another thread to perform an action for up to a specified waiting time is in this state.
- TERMINATED ---> A thread that has exited is in this state.
Monday, April 5, 2010
Different Thread State
There can be following states:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment