// GC thread each.
waitForGcThreads(cap);
}
+
+#else /* !THREADED_RTS */
+
+ // do this while the other Capabilities stop:
+ if (cap) scheduleCheckBlackHoles(cap);
+
#endif
IF_DEBUG(scheduler, printAllThreads());
initTimer();
startTimer();
+#if defined(THREADED_RTS)
+ cap = ioManagerStartCap(cap);
+#endif
+
cap = rts_evalStableIO(cap, entry, NULL); // run the action
rts_checkSchedStatus("forkProcess",cap);