Re: [PATCH] thread wakeup fix for 2.4.0-test7

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Aug 29 2000 - 04:17:23 EST


> Linus wrote:
> > My claim is that a user program that does a close() on a file that is in
> > use is inherently racy. Is that so hard to understand?
>
> Unfortunately, Java programs do this a lot, as it's the
> only reliable way to break a thread out of a blocking I/O call
> there.

Then either the Java program is broken and its not a portable java guarantee
or the java runtime is broken and assumes things that are not guaranteed by
the underlying environment

>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:23 EST