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:
b919df7
)
Tiny code tidy-up
author
Ian Lynagh
<igloo@earth.li>
Tue, 13 Apr 2010 01:11:47 +0000
(
01:11
+0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 13 Apr 2010 01:11:47 +0000
(
01:11
+0000)
GHC/Conc.lhs
patch
|
blob
|
history
diff --git
a/GHC/Conc.lhs
b/GHC/Conc.lhs
index
97a9ef2
..
f86c205
100644
(file)
--- a/
GHC/Conc.lhs
+++ b/
GHC/Conc.lhs
@@
-841,7
+841,7
@@
prodServiceThread = do
-- conditions in which prodding is left at True but the server is
-- blocked in select().
was_set <- atomicModifyIORef prodding $ \b -> (True,b)
- if (not (was_set)) then wakeupIOManager else return ()
+ unless was_set wakeupIOManager
-- Machinery needed to ensure that we only have one copy of certain
-- CAFs in this module even when the base package is present twice, as