Skip to content
Snippets Groups Projects
user avatar
Ben Gamari authored
Previously the `current_value`, `first_watch_queue_entry`, and
`num_updates` fields of `StgTVar` were marked as `volatile` in an
attempt to provide strong ordering. Of course, this isn't sufficient.

We now use proper atomic operations. In most of these cases I strengthen
the ordering all the way to SEQ_CST although it's possible that some
could be weakened with some thought.
8894b402
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.