This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Thread.yield() hangs win98 [was Re: Houston, we have threads...]
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Fri, 14 Dec 2001 10:34:53 -0500 (EST)
- Subject: Re: Thread.yield() hangs win98 [was Re: Houston, we have threads...]
On 14 Dec 2001, Adam Megacz wrote:
> BTW, win32 Thread.yield() is really messed up -- Sleep(0) and
> SwitchToThread() both cause win98 to "become busy" -- an OS-level
> hang... I've disabled it (yield == noop) for now.
That might be the best thing anyway. Thread.yield() doesn't have to do
anything, and I suspect it exists mainly for non-premptive thread systems.
Jeff