summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorSimon Marlow <simonmarhaskell@gmail.com>2008-04-17 22:02:21 +0000
committerSimon Marlow <simonmarhaskell@gmail.com>2008-04-17 22:02:21 +0000
commit1d0e86e6cd96ce49f478c91fc01de565416ecc22 (patch)
tree0423d2add3f2f967cc6eef7278058df0ec8cbe2e /rts
parentc1123a7dab90a0621db4f7f7e254614a6f3423a9 (diff)
downloadhaskell-1d0e86e6cd96ce49f478c91fc01de565416ecc22.tar.gz
turn off the usleep() in the GC thread idle loop (tmp, for portability)
Diffstat (limited to 'rts')
-rw-r--r--rts/sm/GC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index 1d6469947c..a8c637d211 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;