X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FSchedule.c;h=c58584f6939691a91aa889903e8af8f57564e8b6;hb=18074d6acde6d642b8fb10b1b49153f717c75446;hp=3ef12246bfec73c99175b0522e2d9472d7990db6;hpb=21443993d5b042f97927ab92b6b38a6ff365ed1e;p=ghc-hetmet.git diff --git a/ghc/rts/Schedule.c b/ghc/rts/Schedule.c index 3ef1224..c58584f 100644 --- a/ghc/rts/Schedule.c +++ b/ghc/rts/Schedule.c @@ -1,5 +1,5 @@ /* --------------------------------------------------------------------------- - * $Id: Schedule.c,v 1.172 2003/07/12 00:09:15 sof Exp $ + * $Id: Schedule.c,v 1.173 2003/08/15 12:43:57 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -1513,7 +1513,7 @@ forkProcess(StgTSO* tso) } else { /* child */ /* wipe all other threads */ - run_queue_hd = run_queue_tl = tso; + run_queue_hd = run_queue_tl = END_TSO_QUEUE; tso->link = END_TSO_QUEUE; /* When clearing out the threads, we need to ensure