Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. data ThreadId#

    base GHC.Base

    (In a non-concurrent implementation, this can be a singleton type, whose (unique) value is returned by myThreadId#. The other operations can be omitted.)

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

    base GHC.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.

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

    base GHC.Base

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

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

    base GHC.Base

    No documentation available.

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

    base GHC.Base

    No documentation available.

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

    base GHC.Base

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

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

    base GHC.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.

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

    base GHC.Base

    No documentation available.

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

    base GHC.Base

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

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

    base GHC.Base

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

Page 439 of many | Previous | Next