This is the mail archive of the java-discuss@sourceware.cygnus.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()


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

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