How do I/O operations block?

Posted by someguy on Stack Overflow See other posts from Stack Overflow or by someguy
Published on 2010-04-06T10:13:36Z Indexed on 2010/04/06 10:23 UTC
Read the original article Hit count: 513

Filed under:
|
|

I am specifically referring to InputStream (Java SE) and its implementations.

How is blocking performed? I'm a little worried that they use a "busy-waiting" mechanism, as it would produce a lot of overhead. I believe they do it another way, but I'm just asking to be certain.

© Stack Overflow or respective owner

Related posts about java

Related posts about blocking