diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-10-01 17:36:56 +0000 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-10-24 21:00:38 -0400 |
commit | abad977849a70578bca4e5b17a85aff43e3327be (patch) | |
tree | b7f7b9f8ffbe8cb879f389745b67a2f7eea60553 /rts/LdvProfile.c | |
parent | 086521f744f989a4f11585989f1304ab1333a61b (diff) | |
download | haskell-abad977849a70578bca4e5b17a85aff43e3327be.tar.gz |
rts/Threads: Avoid data races (TODO)
Replace barriers with appropriate ordering. Drop redundant barrier in
tryWakeupThread (the RELEASE barrier will be provided by sendMessage's
mutex release).
We use relaxed operations on why_blocked and the stack although it's not
clear to me why this is necessary.
Diffstat (limited to 'rts/LdvProfile.c')
0 files changed, 0 insertions, 0 deletions