Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. atomicReadIntArray# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Int# #)

    ghc-internal GHC.Internal.Base

    Given an array and an offset in machine words, read an element. The index is assumed to be in bounds. Implies a full memory barrier. Warning: this can fail with an unchecked exception.

  2. atomicReadWordAddr# :: Addr# -> State# d -> (# State# d, Word# #)

    ghc-internal GHC.Internal.Base

    Given an address, read a machine word. Implies a full memory barrier. Warning: this can fail with an unchecked exception.

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

    ghc-internal GHC.Internal.Base

    No documentation available.

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

    ghc-internal GHC.Internal.Base

    No documentation available.

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

    ghc-internal GHC.Internal.Base

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

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

    ghc-internal GHC.Internal.Base

    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.

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

    ghc-internal GHC.Internal.Base

    No documentation available.

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

    ghc-internal GHC.Internal.Base

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

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

    ghc-internal GHC.Internal.Base

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

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

    ghc-internal GHC.Internal.Base

    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.

Page 531 of many | Previous | Next