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:
020e2d0
)
[project @ 2004-03-16 10:04:17 by ross]
author
ross
<unknown>
Tue, 16 Mar 2004 10:04:17 +0000
(10:04 +0000)
committer
ross
<unknown>
Tue, 16 Mar 2004 10:04:17 +0000
(10:04 +0000)
comment typo
GHC/Conc.lhs
patch
|
blob
|
history
diff --git
a/GHC/Conc.lhs
b/GHC/Conc.lhs
index
86ba270
..
8965188
100644
(file)
--- a/
GHC/Conc.lhs
+++ b/
GHC/Conc.lhs
@@
-216,7
+216,7
@@
takeMVar (MVar mvar#) = IO $ \ s# -> takeMVar# mvar# s#
-- 'putMVar' will wait until it becomes empty.
--
-- If several threads are competing to fill the same 'MVar', one is
--- chosen to continue at random with the 'MVar' becomes empty.
+-- chosen to continue at random when the 'MVar' becomes empty.
putMVar :: MVar a -> a -> IO ()
putMVar (MVar mvar#) x = IO $ \ s# ->
case putMVar# mvar# x s# of