
25 Dec
2012
25 Dec
'12
9:34 a.m.
This seems like a bug in GHC. But it has nothing to do with MVars. I've
narrowed this down and filed a bug report here:
http://hackage.haskell.org/trac/ghc/ticket/7528
Timothy
---------- Původní zpráva ----------
Od: Yuras Shumovich
The real question is, does this mean that GHC is stopping the world every time it puts an MVar?
No, GHC rts only locks the MVar itself. See here: http://hackage.haskell.org/trac/ghc/browser/rts/PrimOps.cmm#L1358 (http://hackage.haskell.org/trac/ghc/browser/rts/PrimOps.cmm#L1358) Yuras"