On Sat, May 13, 2006 at 05:11:16PM +0200, Sven de Marothy wrote: > On Sat, 2006-05-13 at 16:58 +0200, Michael Koch wrote: > > > AFAIK Linux is the only one. If we want to stay portable we need to use > > select() and wait for the time of the timeout. In libgcj its already > > handled this way. Thats the safest. > > Actually, I don't think we need to stay portable though. > The JDK docs say: "Some non-standard implmentation of this method may > ignore the specified timeout." > > So.. Presumably, Solaris supports it too. But we don't need to though. > > Anyway, this is still better than before when it didn't work at all :)
Well, it will still be broken an most if not all non-Linux Unices. Even on older (2.4 or older) Linuxes it will be broken. Michael -- Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/
