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.
showThreadId :: ThreadId -> Stringbase GHC.Conc.Sync No documentation available.
threadCapability :: ThreadId -> IO (Int, Bool)base GHC.Conc.Sync Returns the number of the capability on which the thread is currently running, and a boolean indicating whether the thread is locked to that capability or not. A thread is locked to a capability if it was created with forkOn.
threadLabel :: ThreadId -> IO (Maybe String)base GHC.Conc.Sync Query the label of thread, returning Nothing if the thread's label has not been set.
threadStatus :: ThreadId -> IO ThreadStatusbase GHC.Conc.Sync Query the current execution status of a thread.
-
base GHC.Event Data is available to be read.
-
base GHC.Exts (In a non-concurrent implementation, this can be a singleton type, whose (unique) value is returned by myThreadId#. The other operations can be omitted.)
atomicReadIntArray# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Int# #)base GHC.Exts 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.
atomicReadWordAddr# :: Addr# -> State# d -> (# State# d, Word# #)base GHC.Exts Given an address, read a machine word. Implies a full memory barrier. Warning: this can fail with an unchecked exception.
isCurrentThreadBound# :: State# RealWorld -> (# State# RealWorld, Int# #)base GHC.Exts No documentation available.
killThread# :: ThreadId# -> a -> State# RealWorld -> State# RealWorldbase GHC.Exts No documentation available.