package thread-local-storage

All checked builds pass
  1. Overview
  2. Docs
Efficient thread local storage for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

thread-local-storage-0.2.tbz
sha256=a68e2b1ed07f9f993ffc76141e632ec4d103ffdab73869700cdc741ecd7e0349
sha512=9db66bbb1e179a3999406a0ee0b9461cc45d87468a11713d3f23a452a4f3bd79501a9af273a3e76f501710be2020581801b68f659c47eff1488fbe7a359f98dc

Description

Tags

topics threads tls

Added to opam-repository:

README

Thread-local storage

The classic threading utility: have variables that have a value for each thread.

See https://discuss.ocaml.org/t/a-hack-to-implement-efficient-tls-thread-local-storage/13264 for the initial implementation by @polytypic.

License

MIT

Dependencies (2)

  1. dune >= "2.0"
  2. ocaml >= "4.08"

Dev Dependencies

None

Optional Dependencies

None

Used by (6)

  1. moonpool >= "0.7"
  2. opentelemetry >= "0.11" & < "0.90"
  3. opentelemetry-client
  4. picos >= "0.5.0"
  5. ppx_minidebug >= "2.2.0"
  6. trace-fuchsia >= "0.8" & < "0.11"

Conflicts

None

Build status

Results of building thread-local-storage with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.2 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure