Why do threads block on I/O

Threads block on i/o (that is enters the waiting state) so that other threads may executewhile the i/o Operation is performed.

Showing Answers 1 - 2 of 2 Answers

saravanakumar

  • Aug 27th, 2005
 

Sir, 
 
i want one doubt, how to open the new window from click the java frame using handling event. please give the idea to me. i know that it's a comment page. But u have using the doubt page. thanking u.

  Was this answer useful?  Yes

Thread gets blocked just because when two thread try to access the single resource simultaneously the threads get blocked and when one thread is using the resource other should be put to sleep state because when the thread which is in processing produces the resullt only then the resource is allowed to another thread.

  Was this answer useful?  Yes

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