Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. threadLabel# :: ThreadId# -> State# RealWorld -> (# State# RealWorld, Int#, ByteArray# #)

    base GHC.Exts

    Get the label of the given thread. Morally of type ThreadId# -> IO (Maybe ByteArray#), with a 1# tag denoting Just.

  2. threadStatus# :: ThreadId# -> State# RealWorld -> (# State# RealWorld, Int#, Int#, Int# #)

    base GHC.Exts

    Get the status of the given thread. Result is (ThreadStatus, Capability, Locked) where ThreadStatus is one of the status constants defined in rts/Constants.h, Capability is the number of the capability which currently owns the thread, and Locked is a boolean indicating whether the thread is bound to that capability.

  3. waitRead# :: Int# -> State# d -> State# d

    base GHC.Exts

    Block until input is available on specified file descriptor.

  4. fillReadBuffer :: BufferedIO dev => dev -> Buffer Word8 -> IO (Int, Buffer Word8)

    base GHC.IO.BufferedIO

    reads bytes into the buffer, blocking if there are no bytes available. Returns the number of bytes read (zero indicates end-of-file), and the new buffer.

  5. fillReadBuffer0 :: BufferedIO dev => dev -> Buffer Word8 -> IO (Maybe Int, Buffer Word8)

    base GHC.IO.BufferedIO

    reads bytes into the buffer without blocking. Returns the number of bytes read (Nothing indicates end-of-file), and the new buffer.

  6. AlreadyExists :: IOErrorType

    base GHC.IO.Exception

    No documentation available.

  7. ThreadKilled :: AsyncException

    base GHC.IO.Exception

    This exception is raised by another thread calling killThread, or by the system if it needs to terminate the thread for some reason.

  8. hIsReadable :: Handle -> IO Bool

    base GHC.IO.Handle

    No documentation available.

  9. flushByteReadBuffer :: Handle__ -> IO ()

    base GHC.IO.Handle.Internals

    No documentation available.

  10. flushCharReadBuffer :: Handle__ -> IO ()

    base GHC.IO.Handle.Internals

    No documentation available.

Page 445 of many | Previous | Next