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. pthread_key_create :: Ptr Key -> Ptr () -> IO Int

    thread-local-storage Data.TLS.PThread.Internal

    No documentation available.

  2. pthread_key_delete :: Key -> IO Int

    thread-local-storage Data.TLS.PThread.Internal

    No documentation available.

  3. pthread_setspecific :: Key -> StablePtr a -> IO Int

    thread-local-storage Data.TLS.PThread.Internal

    No documentation available.

  4. package thread-supervisor

    A simplified implementation of Erlang/OTP like supervisor over thread Please see the README on Github at https://github.com/nshimaza/thread-supervisor#readme

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

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

    thread-supervisor Control.Concurrent.SupervisorInternal

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

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

    thread-supervisor Control.Concurrent.SupervisorInternal

    Start a new thread with supervision.

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

  9. newThreadMap :: IO ThreadMap

    thread-supervisor Control.Concurrent.SupervisorInternal

    Create an empty ThreadMap

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

    thread-supervisor Control.Concurrent.SupervisorInternal

    Start all given ChildSpec on new thread each with supervision.

Page 832 of many | Previous | Next