Skip to content

rts: Fix data races

Ben Gamari requested to merge wip/tsan/fix-races into master

Here we fix a variety of consequential data races in the RTS:

  • Ensure that atomicWriteIORef is used when manipulating the global timer manager state
  • Ensure that thread blocking state mutation is protected by sufficient barriers

Depends upon:

Edited by Ben Gamari

Merge request reports