X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FGC.c;h=ae6fc998dac6191f08a895cd59e3f640703e003e;hb=1a050f3cff3a93f634d2d929aba779585f39609c;hp=3bd50171c3e16149131ad996fcb09140681c396f;hpb=015d3d46b6de2f95386a515a7d166d996a0416db;p=ghc-hetmet.git diff --git a/rts/sm/GC.c b/rts/sm/GC.c index 3bd5017..ae6fc99 100644 --- a/rts/sm/GC.c +++ b/rts/sm/GC.c @@ -732,7 +732,6 @@ SET_GCT(gc_threads[0]); // send exceptions to any threads which were about to die RELEASE_SM_LOCK; resurrectThreads(resurrected_threads); - performPendingThrowTos(exception_threads); ACQUIRE_SM_LOCK; // Update the stable pointer hash table. @@ -997,6 +996,9 @@ any_work (void) #endif gct->no_work++; +#if defined(THREADED_RTS) + yieldThread(); +#endif return rtsFalse; }