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.
-
thread-hierarchy Control.Concurrent.HierarchyInternal Mutable map containing thread ID and finish marker.
ThreadMap :: TVar (Map ThreadId FinishMarker) -> ThreadMapthread-hierarchy Control.Concurrent.HierarchyInternal No documentation available.
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.
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.
-
thread-hierarchy Control.Concurrent.HierarchyInternal Create a new empty ThreadMap.
-
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
-
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.
easy_make_pthread_key :: IO Keythread-local-storage Data.TLS.PThread.Internal No documentation available.
-
thread-local-storage Data.TLS.PThread.Internal No documentation available.
pthread_getspecific :: Key -> IO (StablePtr a)thread-local-storage Data.TLS.PThread.Internal No documentation available.