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. newtype ThreadMap

    thread-hierarchy Control.Concurrent.HierarchyInternal

    Mutable map containing thread ID and finish marker.

  2. ThreadMap :: TVar (Map ThreadId FinishMarker) -> ThreadMap

    thread-hierarchy Control.Concurrent.HierarchyInternal

    No documentation available.

  3. killThreadHierarchy :: ThreadMap -> IO ()

    thread-hierarchy Control.Concurrent.HierarchyInternal

    Kill all thread registered in given ThreadMap. This version is exposed as API. This is not called from cleanup routine. Thus it doesn't ignore asynchronous exceptions.

  4. killThreadHierarchyInternal :: ThreadMap -> IO ()

    thread-hierarchy Control.Concurrent.HierarchyInternal

    Kill all thread registered in given ThreadMap. This internal version is only called from cleanup routine so this ignores ThreadKilled asynchronous exception.

  5. newThreadMap :: IO ThreadMap

    thread-hierarchy Control.Concurrent.HierarchyInternal

    Create a new empty ThreadMap.

  6. package thread-local-storage

    Several options for thread-local-storage (TLS) in Haskell. Thread-local storage, or TLS, is an important ingredient in many algorithms and data structures. The GHC compiler does not provide a built-in notion of TLS either at the IO-thread or OS thread level. This package provides a few different implementations of a simple TLS API. All exported public modules provide exactly the same interface with different implementations. Run the included criterion benchmark suite to ascertain which performs the best on your platform. Example criterion benchmark data can be found here (from an Intel Ivy-Bridge i7-3770 desktop): http://www.cs.indiana.edu/~rrnewton/datasets/xmen_tls_report.html

  7. module Data.TLS.PThread

    An implementation of TLS using the standard, Posix pthread_create_key routine. Note that because this implementation uses Posix threads, it does NOT care about Haskell IO threads. This module is generally used to avoid problems with data structures or other APIs that are not thread safe. That is, pthread-based TLS is sufficient to disallow simultaneous access, irrespective of where IO threads migrate to.

  8. easy_make_pthread_key :: IO Key

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

    No documentation available.

  9. get_pthread_key_size :: Int

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

    No documentation available.

  10. pthread_getspecific :: Key -> IO (StablePtr a)

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

    No documentation available.

Page 831 of many | Previous | Next