static void schedule ( StgMainThread *mainThread, Capability *initialCapability );
void interruptStgRts ( void );
+#if !defined(PAR) && !defined(RTS_SUPPORTS_THREADS)
static void detectBlackHoles ( void );
+#endif
#if defined(RTS_SUPPORTS_THREADS)
/* ToDo: carefully document the invariants that go together
* Locks: sched_mutex is held upon entry and exit.
* -------------------------------------------------------------------------- */
+#if !defined(PAR) && !defined(RTS_SUPPORTS_THREADS)
static void
detectBlackHoles( void )
{
done: ;
}
}
+#endif
/* ----------------------------------------------------------------------------
* Debugging: why is a thread blocked