From 9211ec0183bbe923ec6c5997fa695e5f5a3eefab Mon Sep 17 00:00:00 2001 From: "donnie@darthik.com" Date: Mon, 13 Apr 2009 01:17:01 +0000 Subject: [PATCH] For consistency, changed access of thread id to be through capability instead of directly from StgRegTable. --- rts/Sparks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/Sparks.c b/rts/Sparks.c index 75464d9..7e89d46 100644 --- a/rts/Sparks.c +++ b/rts/Sparks.c @@ -91,7 +91,7 @@ newSpark (StgRegTable *reg, StgClosure *p) cap->sparks_created++; - postEvent(cap, EVENT_CREATE_SPARK, reg->rCurrentTSO->id, 0); + postEvent(cap, EVENT_CREATE_SPARK, cap->r.rCurrentTSO->id, 0); return 1; } -- 1.7.10.4