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.

  1. module System.ThreadManager

    A thread manager including a time manager. The manager has responsibility to kill managed threads.

  2. data KilledByThreadManager

    time-manager System.ThreadManager

    An exception used internally to kill a managed thread.

  3. KilledByThreadManager :: Maybe SomeException -> KilledByThreadManager

    time-manager System.ThreadManager

    No documentation available.

  4. data ThreadManager

    time-manager System.ThreadManager

    Manager to manage the thread and the timer.

  5. newThreadManager :: Manager -> IO ThreadManager

    time-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.

  6. data TimeoutThread

    time-manager System.TimeManager

    The asynchronous exception thrown if a thread is registered via registerKillThread.

  7. TimeoutThread :: TimeoutThread

    time-manager System.TimeManager

    No documentation available.

  8. registerKillThread :: Manager -> TimeoutAction -> IO Handle

    time-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.

  9. 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.

  10. argRead :: Read a => ArgName -> Optional HelpMessage -> Parser a

    turtle Turtle.Options

    Parse any type that implements Read as a positional argument

Page 648 of many | Previous | Next