This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
RE: Thread.interrupt()
- To: "'java-discuss at sourceware dot cygnus dot com'" <java-discuss at sourceware dot cygnus dot com>
- Subject: RE: Thread.interrupt()
- From: Miles Sabin <msabin at cromwellmedia dot co dot uk>
- Date: Wed, 15 Mar 2000 21:06:10 -0000
Boehm, Hans wrote,
> In the case of resource invocation, there is no defined
> protocol, and thus essentially no libraries that abide by it.
Well, there is, sort of.
Resource revocation implies that the current or next use of
the resource will fail. That should result in an exception
throw (an IOException in this particular case). In general I
would expect well behaved libraries to respond gracefully in
the face of such an event.
That's not to say that there aren't buggy libraries that'll
try and limp on in circumstances where they should abort, but
much the same goes for interruption.
Cheers,
Miles
--
Miles Sabin Cromwell Media
Internet Systems Architect 5/6 Glenthorne Mews
+44 (0)20 8817 4030 London, W6 0LJ, England
msabin@cromwellmedia.com http://www.cromwellmedia.com/