Currently, atomicWriteIORef is implemented using atomicModifyIORef. That
seems pretty heavy for the job, allocating closures and forcing thunks. Is
there a reason not to do it with casMutVar#?
_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to