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.

  1. type ThreadMap = IORef Map ThreadId ChildSpec

    thread-supervisor Control.Concurrent.SupervisorInternal

    ThreadMap is mutable variable which holds pool of living threads and ChildSpec of each thread. ThreadMap is used inside of supervisor only.

  2. killAllSupervisedThread :: SupervisorInbox -> ThreadMap -> IO ()

    thread-supervisor Control.Concurrent.SupervisorInternal

    Kill all running threads supervised by the supervisor represented by SupervisorQueue.

  3. newSupervisedThread :: SupervisorQueue -> ThreadMap -> ChildSpec -> IO ThreadId

    thread-supervisor Control.Concurrent.SupervisorInternal

    Start a new thread with supervision.

  4. newThread :: ThreadMap -> ChildSpec -> IO ThreadId

    thread-supervisor Control.Concurrent.SupervisorInternal

    Start new thread based on given ChildSpec, register the thread to given ThreadMap then returns ThreadId of the thread.

  5. newThreadMap :: IO ThreadMap

    thread-supervisor Control.Concurrent.SupervisorInternal

    Create an empty ThreadMap

  6. startAllSupervisedThread :: SupervisorQueue -> ThreadMap -> [ChildSpec] -> IO ()

    thread-supervisor Control.Concurrent.SupervisorInternal

    Start all given ChildSpec on new thread each with supervision.

  7. package threads-extras

    Extends the threads package with a bounded thread group Extends the threads package with a bounded thread group with the same interface as the original thread group.

  8. module Control.Concurrent.Thread.BoundedThreadGroup

    This module wraps Control.Concurrent.Thread.Group and provides a bounded version of ThreadGroup, mainly BoundedThreadGroup. In addition to the functionality of ThreadGroup, BoundedThreadGroup will block creation of threads until there fewer than the given max size.

  9. data BoundedThreadGroup

    threads-extras Control.Concurrent.Thread.BoundedThreadGroup

    A BoundedThreadGroup extends the concept of a ThreadGroup by restricting the number of active threads to a given max size. If one attempts to create more than the max size number of threads the fork function will block until threads finish.

  10. BoundedThreadGroup :: Int -> ThreadGroup -> BoundedThreadGroup

    threads-extras Control.Concurrent.Thread.BoundedThreadGroup

    No documentation available.

Page 832 of many | Previous | Next