Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. threadWaitRead :: Fd -> IO ()

    ghc-internal GHC.Internal.Conc.IO

    Block the current thread until data is available to read on the given file descriptor (GHC only). This will throw an IOError if the file descriptor was closed while this thread was blocked. To safely close a file descriptor that has been used with threadWaitRead, use closeFdWith.

  2. threadWaitReadSTM :: Fd -> IO (STM (), IO ())

    ghc-internal GHC.Internal.Conc.IO

    Returns an STM action that can be used to wait for data to read from a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

  3. threadWaitWrite :: Fd -> IO ()

    ghc-internal GHC.Internal.Conc.IO

    Block the current thread until data can be written to the given file descriptor (GHC only). This will throw an IOError if the file descriptor was closed while this thread was blocked. To safely close a file descriptor that has been used with threadWaitWrite, use closeFdWith.

  4. threadWaitWriteSTM :: Fd -> IO (STM (), IO ())

    ghc-internal GHC.Internal.Conc.IO

    Returns an STM action that can be used to wait until data can be written to a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

  5. ThreadBlocked :: BlockReason -> ThreadStatus

    ghc-internal GHC.Internal.Conc.Sync

    the thread is blocked on some resource

  6. ThreadDied :: ThreadStatus

    ghc-internal GHC.Internal.Conc.Sync

    the thread received an uncaught exception

  7. ThreadFinished :: ThreadStatus

    ghc-internal GHC.Internal.Conc.Sync

    the thread has finished

  8. data ThreadId

    ghc-internal GHC.Internal.Conc.Sync

    A ThreadId is an abstract type representing a handle to a thread. ThreadId is an instance of Eq, Ord and Show, where the Ord instance implements an arbitrary total ordering over ThreadIds. The Show instance lets you convert an arbitrary-valued ThreadId to string form; showing a ThreadId value is occasionally useful when debugging or diagnosing the behaviour of a concurrent program. Note: in GHC, if you have a ThreadId, you essentially have a pointer to the thread itself. This means the thread itself can't be garbage collected until you drop the ThreadId. This misfeature would be difficult to correct while continuing to support threadStatus.

  9. ThreadId :: ThreadId# -> ThreadId

    ghc-internal GHC.Internal.Conc.Sync

    No documentation available.

  10. ThreadRunning :: ThreadStatus

    ghc-internal GHC.Internal.Conc.Sync

    the thread is currently runnable or running

Page 533 of many | Previous | Next