/* -----------------------------------------------------------------------------
- * $Id: Main.c,v 1.4 1999/02/26 16:44:13 simonm Exp $
+ * $Id: Main.c,v 1.5 1999/02/26 16:46:50 simonm Exp $
*
* (c) The GHC Team 1998-1999
*
case Interrupted:
/* carry on */
}
- /* run all threads */
- run_all_threads();
shutdownHaskell();
stg_exit(EXIT_SUCCESS);
}
/* -----------------------------------------------------------------------------
- * $Id: Schedule.c,v 1.11 1999/02/26 16:44:13 simonm Exp $
+ * $Id: Schedule.c,v 1.12 1999/02/26 16:46:50 simonm Exp $
*
* (c) The GHC Team, 1998-1999
*
enteredCAFs = END_CAF_LIST;
}
-void
-run_all_threads ( void )
-{
- while (run_queue_hd != END_TSO_QUEUE) {
- schedule(run_queue_hd, NULL);
- }
-}
-
/* -----------------------------------------------------------------------------
Main scheduling loop.