DEVFYI - Developer Resource - FYI

Why do threads block on I/O?

Java Interview Questions and Answers (part 1)


(Continued from previous question...)

168. 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