Several options for thread-local-storage (TLS) in Haskell.
|LTS Haskell 20.23:||0.2|
|Stackage Nightly 2023-06-04:||0.2|
|Latest on Hackage:||0.2|
Maintained by firstname.lastname@example.org
This version can be pinned in stack with:
Module documentation for 0.2
thread-local-storagenow checks that threads calling
Data.TLS.PThread.getTLSare bound threads, and throws a runtime error if this is not the case.
For this reason, if you call
getTLSin a thread spawned by
forkOn, it will break with this release, so you are encouraged to switch uses of
- Fix the benchmark suite with
Data.TLS.PThread.Internal. Note that there are no API guarantees whatsoever with this module, so use it with caution.
extra-libraries. Without it, some systems suffer from linker errors when using this library.
- Fix build on GHC 7.6 and 7.8.