From 1d0e86e6cd96ce49f478c91fc01de565416ecc22 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 17 Apr 2008 22:02:21 +0000 Subject: [PATCH] turn off the usleep() in the GC thread idle loop (tmp, for portability) --- rts/sm/GC.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.10.4