projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
700b2ea
)
Grammar fix
author
Ian Lynagh
<igloo@earth.li>
Fri, 25 Feb 2011 21:46:14 +0000
(21:46 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 25 Feb 2011 21:46:14 +0000
(21:46 +0000)
Control/Concurrent/MVar.hs
patch
|
blob
|
history
diff --git
a/Control/Concurrent/MVar.hs
b/Control/Concurrent/MVar.hs
index
ae672a3
..
4e31f46
100644
(file)
--- 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
--
-- 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.
-- These only have atomicity guarantees if all other threads
-- perform a 'takeMVar' before a 'putMVar' as well; otherwise, they may
-- block.