Hi
we want to know that What are the actions that can occur when a thread enters blocked state?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted May 30, 2012, 7:03 AM
The actions that get performed when a thread enters the blocked state are as follows:
1. A thread is in the blocked state due to the call of a sleep() method.
2. Thread calls an operation that requires the resource which is being used by some other thread in process.
3. A thread calls the method wait().
4. Thread locks an object which is being associated with another thread.
5. A suspend() method of thread is called.
Thanks