Thread.interrupt()

Jeff Sturm jsturm@sigma6.com
Tue Mar 14 05:52:00 GMT 2000


Kresten Krab Thorup wrote:
[...]
> As of today, the interruptable io has officially deprecated. We are not
> going to fix this bug. However, we leave the current implementation as
> it is for backward compatibility.
>> xxxxx@xxxxx 1999年09月12日

IOW, Sun crippled their API because Win32 doesn't handle interruptable
I/O portably. Not a good policy.
Since Java doesn't support read() with timeouts either, it is easy to
create a "stuck" thread that can never die.
Question: do the libgcj maintainers feel obligated to follow Sun's
interpretation of the JLS?
-- 
Jeff Sturm
jsturm@sigma6.com


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /