When a thread blocks on I/O, what state does it enter

A thread enters the waiting state when it blocks on I/O.

Showing Answers 1 - 1 of 1 Answers

coding fool

  • Aug 6th, 2005
 

When a thread blocks on I/O, it enters to BLOCKED state. A thread enters WAITING state, while a thread calls wait(), and it will come back to READY state, while other threads call notify() or notifyAll(). The wait-notify model is called monitor pattern.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions