Re: Make busy waiting loop in exceptions.cc (try_to_debug) less busy.

2003-02-07 Thread Christopher Faylor
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

Make busy waiting loop in exceptions.cc (try_to_debug) less busy.

2003-02-07 Thread Vaclav Haisman
Hi, 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). Without this patch it takes tens of seconds to start dumper or gdb because this busy loop eats whole CPU and computer almost stops responding.