Commit 1154c9b6 authored by Kirill Zaborsky's avatar Kirill Zaborsky Committed by Ben Gamari

More explicit comment on switch in registerDelay

parent 45ad0c39
......@@ -188,8 +188,9 @@ threadDelay time
case delay# time# s of { s' -> (# s', () #)
}}
-- | Set the value of returned TVar to True after a given number of
-- microseconds. The caveats associated with threadDelay also apply.
-- | Switch the value of returned 'TVar' from intial value 'False' to 'True'
-- after a given number of microseconds. The caveats associated with
-- 'threadDelay' also apply.
--
registerDelay :: Int -> IO (TVar Bool)
registerDelay usecs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment