Thursday, 8 March 2012

Thread Life Cycle

Thread Life Cycle



Thread Life Cycle - States:

•A thread can be in any one of the following states:
1) ready to run – Thread is created and is ready for execution
2) running – The thread is being executed
3) suspended – Thread is suspended from execution temporarily.
4) blocked – Thread is waiting for a resource.
5) terminated – Thread has completed its execution or exited abnormally.

No comments:

Post a Comment