Thread.yield() hangs win98 [was Re: Houston, we have threads...]

Jeff Sturm jsturm@one-point.com
Fri Dec 14 07:35:00 GMT 2001


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


More information about the Java mailing list

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