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.
MIT
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.
MIT