Safe Haskell | Safe-Inferred |
---|
Control.Concurrent.Suspend
Documentation
suspend :: Delay -> IO ()Source
Analogy of threadDelay
that allows for longer delays.
Suspends the current thread for the given delay (GHC only).
There is no guarantee that the thread will be rescheduled promptly when the delay has expired, but the thread will never continue to run earlier than specified.