This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Thread.interrupt
- To: tromey at redhat dot com
- Subject: Re: Thread.interrupt
- From: Jeff Sturm <jeff dot sturm at appnet dot com>
- Date: Sat, 13 Jan 2001 16:18:41 -0500
- CC: Java Discuss List <java-discuss at sourceware dot cygnus dot com>
- References: <87puhrdys1.fsf@creche.redhat.com>
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