[project @ 1999-02-26 16:46:50 by simonm]
authorsimonm <unknown>
Fri, 26 Feb 1999 16:46:50 +0000 (16:46 +0000)
committersimonm <unknown>
Fri, 26 Feb 1999 16:46:50 +0000 (16:46 +0000)
Back out accidental commits.

ghc/rts/Main.c
ghc/rts/Schedule.c

index c286b98..9f2c9c1 100644 (file)
@@ -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);
 }
index ccb6b74..a5a2362 100644 (file)
@@ -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.