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:
0a7a4a1
)
threadDelay and friends are GHC-only
author
Ross Paterson
<ross@soi.city.ac.uk>
Mon, 11 Aug 2008 17:50:39 +0000
(17:50 +0000)
committer
Ross Paterson
<ross@soi.city.ac.uk>
Mon, 11 Aug 2008 17:50:39 +0000
(17:50 +0000)
Control/Concurrent.hs
patch
|
blob
|
history
diff --git
a/Control/Concurrent.hs
b/Control/Concurrent.hs
index
38a08d2
..
a0faad0
100644
(file)
--- a/
Control/Concurrent.hs
+++ b/
Control/Concurrent.hs
@@
-427,6
+427,7
@@
runInUnboundThread action = do
#endif /* __GLASGOW_HASKELL__ */
#endif /* __GLASGOW_HASKELL__ */
+#ifdef __GLASGOW_HASKELL__
-- ---------------------------------------------------------------------------
-- threadWaitRead/threadWaitWrite
-- ---------------------------------------------------------------------------
-- threadWaitRead/threadWaitWrite
@@
-618,3
+619,4
@@
foreign import ccall safe "fdReady"
lock is woken up, but haven't found it to be useful for anything
other than this example :-)
-}
lock is woken up, but haven't found it to be useful for anything
other than this example :-)
-}
+#endif /* __GLASGOW_HASKELL__ */