Commit 9211ec01 authored by donnie@darthik.com's avatar donnie@darthik.com
Browse files

For consistency, changed access of thread id to be through capability instead...

For consistency, changed access of thread id to be through capability instead of directly from StgRegTable.
parent 6f045438
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment