summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-09-30 12:21:29 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-10-04 23:45:46 -0400
commita0f44cebb217b3586d861750366301b973073dd1 (patch)
tree4053ffe6808b52ad066da223b7c3f820cca1919a /utils
parent347537a5999622def42da47572ca49580c53f29c (diff)
downloadhaskell-a0f44cebb217b3586d861750366301b973073dd1.tar.gz
compiler: Fix racy ticker counter registration
Previously registration of ticky entry counters was racy, performing a read-modify-write to add the new counter to the ticky_entry_ctrs list. This could result in the list becoming cyclic if multiple threads entered the same closure simultaneously. Fixes #20451.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions