DEVFYI - Developer Resource - FYI

Why do threads block on I/O?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

372. Why do threads block on I/O?

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

(Continued on next question...)

Other Interview Questions