[project @ 2004-01-08 15:27:29 by simonmar]
authorsimonmar <unknown>
Thu, 8 Jan 2004 15:27:29 +0000 (15:27 +0000)
committersimonmar <unknown>
Thu, 8 Jan 2004 15:27:29 +0000 (15:27 +0000)
update threadDelay docs: delay is rounded up.

GHC/Conc.lhs

index d30513d..86ba270 100644 (file)
@@ -275,10 +275,8 @@ specified file descriptor is available for reading (just like select).
 -- (GHC only).
 --
 -- Note that the resolution used by the Haskell runtime system's
--- internal timer is 1\/50 second, and 'threadDelay' will round down
--- its argument to the nearest multiple of this resolution.  In
--- particular, to get the smallest non-zero delay, pass 20000 as the
--- parameter to 'threadDelay'.
+-- internal timer is 1\/50 second, and 'threadDelay' will round its
+-- argument up to the nearest multiple of this resolution.
 --
 -- There is no guarantee that the thread will be rescheduled promptly
 -- when the delay has expired, but the thread will never continue to