diff --git a/ghc/rts/Main.c b/ghc/rts/Main.c index c286b985b1407c7b8314905b0aad8e9a7583a49f..9f2c9c1288009a4c49b5305e5306c183e1b38d1d 100644 --- a/ghc/rts/Main.c +++ b/ghc/rts/Main.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $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 * @@ -68,8 +68,6 @@ int main(int argc, char *argv[]) case Interrupted: /* carry on */ } - /* run all threads */ - run_all_threads(); shutdownHaskell(); stg_exit(EXIT_SUCCESS); } diff --git a/ghc/rts/Schedule.c b/ghc/rts/Schedule.c index ccb6b74dcc80771b71cf4d7a60450ba106523402..a5a23621528c10fb2e643e04b88d9a504f914e97 100644 --- a/ghc/rts/Schedule.c +++ b/ghc/rts/Schedule.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $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 * @@ -315,14 +315,6 @@ void initScheduler(void) enteredCAFs = END_CAF_LIST; } -void -run_all_threads ( void ) -{ - while (run_queue_hd != END_TSO_QUEUE) { - schedule(run_queue_hd, NULL); - } -} - /* ----------------------------------------------------------------------------- Main scheduling loop.