/* -----------------------------------------------------------------------------
- * $Id: Main.c,v 1.4 1999/02/26 16:44:13 simonm Exp $
+ * $Id: Main.c,v 1.6 1999/03/03 19:20:42 sof Exp $
*
* (c) The GHC Team 1998-1999
*
*
* ---------------------------------------------------------------------------*/
+#define COMPILING_RTS_MAIN
+
#include "Rts.h"
#include "RtsAPI.h"
#include "RtsFlags.h"
#include "RtsUtils.h"
#ifdef DEBUG
-#include "RtsFlags.h" /* for debugging flags */
#include "Printer.h" /* for printing */
#endif
case Interrupted:
/* carry on */
}
- /* run all threads */
- run_all_threads();
shutdownHaskell();
stg_exit(EXIT_SUCCESS);
}