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. setThreadAllocationCounter# :: Int64# -> State# RealWorld -> State# RealWorld

    ghc-prim GHC.Prim

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

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

    ghc-prim GHC.Prim

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

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

    ghc-prim GHC.Prim

    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.

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

    ghc-prim GHC.Prim

    Block until input is available on specified file descriptor.

  5. getThreadAllocationCounter# :: State# RealWorld -> (# State# RealWorld, Int64# #)

    ghc-prim GHC.Prim.Ext

    Retrieves the allocation counter for the current thread.

  6. atomicReadIntArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, Int# #)

    ghc-prim GHC.PrimopWrappers

    No documentation available.

  7. atomicReadWordAddr# :: Addr# -> State# s -> (# State# s, Word# #)

    ghc-prim GHC.PrimopWrappers

    No documentation available.

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

    ghc-prim GHC.PrimopWrappers

    No documentation available.

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

    ghc-prim GHC.PrimopWrappers

    No documentation available.

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

    ghc-prim GHC.PrimopWrappers

    No documentation available.

Page 452 of many | Previous | Next