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.
-
rebase Rebase.Prelude The current status of a thread
labelThread :: ThreadId -> String -> IO ()rebase Rebase.Prelude labelThread stores a string as identifier for this thread. This identifier will be used in the debugging output to make distinction of different threads easier (otherwise you only have the thread state object's address in the heap). It also emits an event to the RTS eventlog.
-
rebase Rebase.Prelude List the Haskell threads of the current process.
mapReader :: (a -> b) -> Reader r a -> Reader r brebase Rebase.Prelude Transform the value returned by a Reader.
mapReaderT :: (m a -> n b) -> ReaderT r m a -> ReaderT r n brebase Rebase.Prelude Transform the computation inside a ReaderT.
runReaderT (mapReaderT f m) = f . runReaderT m
runReader :: Reader r a -> r -> arebase Rebase.Prelude Runs a Reader and extracts the final value from it. (The inverse of reader.)
runReaderT :: ReaderT r (m :: Type -> Type) a -> r -> m arebase Rebase.Prelude No documentation available.
threadStatus :: ThreadId -> IO ThreadStatusrebase Rebase.Prelude Query the current execution status of a thread.
tryReadTBQueue :: TBQueue a -> STM (Maybe a)rebase Rebase.Prelude A version of readTBQueue which does not retry. Instead it returns Nothing if no value is available.
tryReadTChan :: TChan a -> STM (Maybe a)rebase Rebase.Prelude A version of readTChan which does not retry. Instead it returns Nothing if no value is available.