Skip to content
Snippets Groups Projects
Commit 0a25b9df authored by Ben Gamari's avatar Ben Gamari
Browse files

rts: Use release ordering when storing thread labels

Since this makes the ByteArray# visible from other cores.

(cherry picked from commit da7b2b94)
parent 80208941
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,6 @@ labelThread(Capability *cap,
}
}
recordClosureMutated(cap, (StgClosure*)tso);
tso->label = label;
RELEASE_STORE(&tso->label, label);
traceThreadLabel(cap, tso, (char *) label->payload, label->bytes);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment