diff options
author | Simon Marlow <simonmarhaskell@gmail.com> | 2008-04-17 22:02:21 +0000 |
---|---|---|
committer | Simon Marlow <simonmarhaskell@gmail.com> | 2008-04-17 22:02:21 +0000 |
commit | 1d0e86e6cd96ce49f478c91fc01de565416ecc22 (patch) | |
tree | 0423d2add3f2f967cc6eef7278058df0ec8cbe2e /rts | |
parent | c1123a7dab90a0621db4f7f7e254614a6f3423a9 (diff) | |
download | haskell-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.c | 2 |
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; |