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:
b8e2fff
)
add signature for registerDelay
author
Ross Paterson
<ross@soi.city.ac.uk>
Wed, 14 Jun 2006 11:44:56 +0000
(11:44 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Wed, 14 Jun 2006 11:44:56 +0000
(11:44 +0000)
GHC/Conc.lhs
patch
|
blob
|
history
diff --git
a/GHC/Conc.lhs
b/GHC/Conc.lhs
index
fb5cc6e
..
0b6bc91
100644
(file)
--- a/
GHC/Conc.lhs
+++ b/
GHC/Conc.lhs
@@
-583,6
+583,7
@@
threadDelay time
case delay# time# s of { s -> (# s, () #)
}}
+registerDelay :: Int -> IO (TVar Bool)
registerDelay usecs
#ifndef mingw32_HOST_OS
| threaded = waitForDelayEventSTM usecs