turn off the usleep() in the GC thread idle loop (tmp, for portability)
authorSimon Marlow <simonmarhaskell@gmail.com>
Thu, 17 Apr 2008 22:02:21 +0000 (22:02 +0000)
committerSimon Marlow <simonmarhaskell@gmail.com>
Thu, 17 Apr 2008 22:02:21 +0000 (22:02 +0000)
rts/sm/GC.c

index 1d64699..a8c637d 100644 (file)
@@ -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;