This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

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


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