1 /* -----------------------------------------------------------------------------
2 * $Id: NoRunnableThreads.c,v 1.3 2002/07/17 09:21:51 simonmar Exp $
4 * User-overridable RTS hooks.
6 * ---------------------------------------------------------------------------*/
13 Hook to invoke when there's nothing left on the runnable threads
14 queue {\em and} we've got nothing to wait for. The value
15 returned is the exit code to report back.
17 NOTE: This hook is really CONCURRENT specific, but we include
18 it in the way-independent libHSclib.a.
22 NoRunnableThreadsHook (void)
25 fprintf(stderr, "No runnable threads!\n");