From: simonmar Date: Wed, 1 Dec 1999 16:13:25 +0000 (+0000) Subject: [project @ 1999-12-01 16:13:25 by simonmar] X-Git-Tag: Approximately_9120_patches~5453 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=58d28d4ef615a31ba181bc93d5546e99f2311125;p=ghc-hetmet.git [project @ 1999-12-01 16:13:25 by simonmar] initialize the blocked_exceptions field of a TSO properly. --- diff --git a/ghc/rts/Schedule.c b/ghc/rts/Schedule.c index baf32ca..54c1ace 100644 --- a/ghc/rts/Schedule.c +++ b/ghc/rts/Schedule.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Schedule.c,v 1.37 1999/12/01 14:58:09 simonmar Exp $ + * $Id: Schedule.c,v 1.38 1999/12/01 16:13:25 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -692,6 +692,7 @@ initThread(StgTSO *tso, nat stack_size) RELEASE_LOCK(&sched_mutex); tso->why_blocked = NotBlocked; + tso->blocked_exceptions = NULL; tso->splim = (P_)&(tso->stack) + RESERVED_STACK_WORDS; tso->stack_size = stack_size;