[concurrency-interest] Interruptible I/O (was RE: enable / disable interrupt

Hanson Char hanson.char at gmail.com
Sun Mar 30 11:34:56 EDT 2008

True.  But since any file or network operation ultimately involves either an
input or output stream, if a separate thread is scheduled to execute upon a
timeout to close the stream, any blocking in-flight operations can be
unblocked, and therefore "interruptable".  Right ?

Hanson Char

On Sun, Mar 30, 2008 at 1:34 AM, Mark Thornton <mthornton at optrak.co.uk>

> David Holmes wrote:
> > (Though for a long time there were issues - and maybe still are -
> > because Java didn't expose the APIs to set timeouts in all places that
> > you'd want them. And the close() semantics took some effort to get
> > right on all platforms.)
> You still can't set time-outs on file operations, which is a pity in the
> case of network based files.
> Mark Thornton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20080330/f82862bc/attachment.html 

More information about the Concurrency-interest mailing list