From: Simon Marlow Date: Thu, 17 Apr 2008 22:02:21 +0000 (+0000) Subject: turn off the usleep() in the GC thread idle loop (tmp, for portability) X-Git-Tag: Before_cabalised-GHC~185 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=1d0e86e6cd96ce49f478c91fc01de565416ecc22;hp=c1123a7dab90a0621db4f7f7e254614a6f3423a9 turn off the usleep() in the GC thread idle loop (tmp, for portability) --- diff --git a/rts/sm/GC.c b/rts/sm/GC.c index 1d64699..a8c637d 100644 --- a/rts/sm/GC.c +++ b/rts/sm/GC.c @@ -907,7 +907,7 @@ loop: gct->thread_index, r); while (gc_running_threads != 0) { - usleep(1); + // usleep(1); if (any_work()) { inc_running(); goto loop;