On Fri, Feb 07, 2003 at 03:35:12PM +0100, Vaclav Haisman wrote: >this patch makes busy waiting loop in try_to_debug less busy by lowering >priority of current thread to idle and by giving up time slices with Sleep(0).
I'll apply something similar to this but the scenario of setting the priority to idle and then doing a Sleep(0) doesn't do what I think you think it does. :-) Unfortunately, Sleep (0) gives back time slices to any other thread running at idle priority. A Sleep(0) is better than nothing, though. Thanks. cgf >2003-02-07 Vaclav Haisman <[EMAIL PROTECTED]> > * exceptions.cc (try_to_debug): Set priority of current thread to > idle. Make busy waiting loop less busy.
