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.
killThread# :: ThreadId# -> a -> State# RealWorld -> State# RealWorldbase GHC.Base No documentation available.
labelThread# :: ThreadId# -> ByteArray# -> State# RealWorld -> State# RealWorldbase GHC.Base Set the label of the given thread. The ByteArray# should contain a UTF-8-encoded string.
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.
myThreadId# :: State# RealWorld -> (# State# RealWorld, ThreadId# #)base GHC.Base No documentation available.
setThreadAllocationCounter# :: Int64# -> State# RealWorld -> State# RealWorldbase GHC.Base Sets the allocation counter for the current thread to the given value.
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.
threadStatus# :: ThreadId# -> State# RealWorld -> (# State# RealWorld, Int#, Int#, Int# #)base GHC.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.
waitRead# :: Int# -> State# d -> State# dbase GHC.Base Block until input is available on specified file descriptor.
ThreadBlocked :: BlockReason -> ThreadStatusbase GHC.Conc the thread is blocked on some resource
-
base GHC.Conc the thread received an uncaught exception