projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6f04543
)
For consistency, changed access of thread id to be through capability instead of...
author
donnie@darthik.com
<unknown>
Mon, 13 Apr 2009 01:17:01 +0000
(
01:17
+0000)
committer
donnie@darthik.com
<unknown>
Mon, 13 Apr 2009 01:17:01 +0000
(
01:17
+0000)
rts/Sparks.c
patch
|
blob
|
history
diff --git
a/rts/Sparks.c
b/rts/Sparks.c
index
75464d9
..
7e89d46
100644
(file)
--- 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;
}