X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Control%2FConcurrent%2FMVar.hs;h=4e31f467312890fa5856544ceb9952df5be743e7;hb=471716a3e57d7e42f799b2e9274fb7b2a2a3017d;hp=ae672a3e2d911871bae629afa7455456a6904976;hpb=700b2ea4af19b1d587406022fab70d949d70f900;p=ghc-base.git diff --git a/Control/Concurrent/MVar.hs b/Control/Concurrent/MVar.hs index ae672a3..4e31f46 100644 --- a/Control/Concurrent/MVar.hs +++ b/Control/Concurrent/MVar.hs @@ -38,7 +38,8 @@ -- -- In particular, the "bigger" functions in this module ('readMVar', -- 'swapMVar', 'withMVar', 'modifyMVar_' and 'modifyMVar') are simply --- compositions a 'takeMVar' followed by a 'putMVar' with exception safety. +-- the composition of a 'takeMVar' followed by a 'putMVar' with +-- exception safety. -- These only have atomicity guarantees if all other threads -- perform a 'takeMVar' before a 'putMVar' as well; otherwise, they may -- block.