base-4.6.0.0: Basic libraries

Portabilitynon-portable (GHC extensions)
Stabilityinternal
Maintainercvs-ghc@haskell.org
Safe HaskellTrustworthy

GHC.Conc.Windows

Contents

Description

Windows I/O manager

Synopsis

Documentation

Waiting

threadDelay :: Int -> IO ()Source

Suspends the current thread for a given number of microseconds (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.

registerDelay :: Int -> IO (TVar Bool)Source

Set the value of returned TVar to True after a given number of microseconds. The caveats associated with threadDelay also apply.

Miscellaneous

asyncRead :: Int -> Int -> Int -> Ptr a -> IO (Int, Int)Source

asyncWrite :: Int -> Int -> Int -> Ptr a -> IO (Int, Int)Source