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.
-
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.
pthread_key_create :: Ptr Key -> Ptr () -> IO Intthread-local-storage Data.TLS.PThread.Internal No documentation available.
pthread_key_delete :: Key -> IO Intthread-local-storage Data.TLS.PThread.Internal No documentation available.
pthread_setspecific :: Key -> StablePtr a -> IO Intthread-local-storage Data.TLS.PThread.Internal No documentation available.
-
A simplified implementation of Erlang/OTP like supervisor over thread Please see the README on Github at https://github.com/nshimaza/thread-supervisor#readme