summaryrefslogtreecommitdiff
path: root/distrib/hc-build
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-09-30 16:04:17 +0000
committerBen Gamari <ben@smart-cactus.org>2020-10-24 21:01:54 -0400
commit8cf50eb1b5f145d7bca9abae6220f4c2622e21b1 (patch)
treeff796c039fce879dc0bb61203f9d7e3ca06fcb40 /distrib/hc-build
parentbf1b0bc78da7dbe5f6fbda54b37a9cb165ff857f (diff)
downloadhaskell-8cf50eb1b5f145d7bca9abae6220f4c2622e21b1.tar.gz
rts/STM: Use atomics
This fixes a potentially harmful race where we failed to synchronize before looking at a TVar's current_value. Also did a bit of refactoring to avoid abstract over management of max_commits.
Diffstat (limited to 'distrib/hc-build')
0 files changed, 0 insertions, 0 deletions