call wakeUpRts() in the correct place
authorSimon Marlow <simonmar@microsoft.com>
Wed, 14 Jun 2006 13:47:28 +0000 (13:47 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 14 Jun 2006 13:47:28 +0000 (13:47 +0000)
rts/Timer.c

index b4f5f8f..90f89b1 100644 (file)
@@ -71,9 +71,8 @@ handle_tick(int unused STG_UNUSED)
          recent_activity = ACTIVITY_INACTIVE;
          blackholes_need_checking = rtsTrue;
          /* hack: re-use the blackholes_need_checking flag */
-         
+         wakeUpRts();
       }
-      wakeUpRts();
       break;
   default:
       break;