This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Thread.interrupt


Tom Tromey wrote:
> I could change _Jv_select to throw InterruptedIOException, and I
> probably will, but this is less useful if Thread.interrupt() doesn't
> actually interrupt the I/O.

Interrupted I/O came up almost a year ago, but I don't remember any
consensus:

http://sources.redhat.com/ml/java-discuss/2000-q1/msg00418.html

In summary, Sun changed their mind about InterruptedIOException, and it
was never implemented consistently anyway.  It is difficult to make it
work on certain platforms (win32).

Jeff

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]