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. isCurrentThreadBound# :: State# RealWorld -> (# State# RealWorld, Int# #)

    ihaskell IHaskellPrelude

    No documentation available.

  2. killThread# :: ThreadId# -> a -> State# RealWorld -> State# RealWorld

    ihaskell IHaskellPrelude

    No documentation available.

  3. labelThread# :: ThreadId# -> ByteArray# -> State# RealWorld -> State# RealWorld

    ihaskell IHaskellPrelude

    Set the label of the given thread. The ByteArray# should contain a UTF-8-encoded string.

  4. listThreads# :: State# RealWorld -> (# State# RealWorld, Array# ThreadId# #)

    ihaskell IHaskellPrelude

    Returns an array of the threads started by the program. Note that this threads which have finished execution may or may not be present in this list, depending upon whether they have been collected by the garbage collector.

  5. myThreadId# :: State# RealWorld -> (# State# RealWorld, ThreadId# #)

    ihaskell IHaskellPrelude

    No documentation available.

  6. setThreadAllocationCounter# :: Int64# -> State# RealWorld -> State# RealWorld

    ihaskell IHaskellPrelude

    Sets the allocation counter for the current thread to the given value.

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

    ihaskell IHaskellPrelude

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

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

    ihaskell IHaskellPrelude

    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.

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

    ihaskell IHaskellPrelude

    Block until input is available on specified file descriptor.

  10. data Thread

    immortal Control.Immortal

    Immortal thread identifier (including its underlying ThreadId)

Page 711 of many | Previous | Next