Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
A thread manager including a time manager. The manager has responsibility to kill managed threads.
-
time-manager System.ThreadManager An exception used internally to kill a managed thread.
KilledByThreadManager :: Maybe SomeException -> KilledByThreadManagertime-manager System.ThreadManager No documentation available.
-
time-manager System.ThreadManager Manager to manage the thread and the timer.
newThreadManager :: Manager -> IO ThreadManagertime-manager System.ThreadManager Starting a thread manager. Its action is initially set to 'return ()' and should be set by setAction. This allows that the action can include the manager itself.
-
time-manager System.TimeManager The asynchronous exception thrown if a thread is registered via registerKillThread.
TimeoutThread :: TimeoutThreadtime-manager System.TimeManager No documentation available.
registerKillThread :: Manager -> TimeoutAction -> IO Handletime-manager System.TimeManager Registering a timeout action of killing this thread. TimeoutThread is thrown to the thread which called this function on timeout. Catch TimeoutThread if you don't want to leak the asynchronous exception to GHC RTS.
withHandleKillThread :: Manager -> TimeoutAction -> (Handle -> IO ()) -> IO ()time-manager System.TimeManager Registering a timeout action of killing this thread and unregister its handle when the body action is killed or finished.
argRead :: Read a => ArgName -> Optional HelpMessage -> Parser aturtle Turtle.Options Parse any type that implements Read as a positional argument