Package Info

ghc-thread-local-storage


Several options for thread-local-storage (TLS) in Haskell


Development/Libraries/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>.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/thread-local-storage

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.1.1-bp150.2.4 info GA Release 2018-08-01 15
  • AArch64
  • ghc-thread-local-storage
  • ghc-thread-local-storage-devel
0.1.1-bp150.2.6 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-thread-local-storage
  • ghc-thread-local-storage-devel