From 58d28d4ef615a31ba181bc93d5546e99f2311125 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 1 Dec 1999 16:13:25 +0000 Subject: [PATCH] [project @ 1999-12-01 16:13:25 by simonmar] initialize the blocked_exceptions field of a TSO properly. --- ghc/rts/Schedule.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 1.7.10.4