Comment Comment by eschew GHC, at least, uses the same implementation for IORef and STRef: http://hackage.haskell.org/package/base-4.3.1.0/docs/src/GHC...Poking through GHC's runtime source, I see a writer barrier but no locking -- did I miss something? parent eschew 12 years ago
Poking through GHC's runtime source, I see a writer barrier but no locking -- did I miss something?