move usleep(1) to gc_thread_work() from any_work()
[ghc-hetmet.git] / rts / sm / Scav.c
index fc63a85..d8d158a 100644 (file)
@@ -11,8 +11,6 @@
  *
  * ---------------------------------------------------------------------------*/
 
-#include <unistd.h>
-
 #include "Rts.h"
 #include "RtsFlags.h"
 #include "Storage.h"
@@ -1575,7 +1573,6 @@ any_work (void)
     }
 
     gct->no_work++;
-    usleep(1);
 
     return rtsFalse;
 }