You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Data.Atomics for safe compare-and-swap
This obviates the need for reallyUnsafePtrEquality# and also appears to
be slightly faster (it uses GHC's new native CAS operations).
Thanks to @gregorycollins for pointing me in this direction.