π¬This is a nightly-only experimental API. (
thread_local_internals
)Expand description
The native TLS implementation needs a way to register destructors for its data. This module contains platform-specific implementations of that register.
It turns out however that most platforms donβt have a way to register a
destructor for each variable. On these platforms, we keep track of the
destructors ourselves and register (through the guard
module) only a
single callback that runs all of the destructors in the list.
ModulesΒ§
- linux_
like πExperimental - Destructor registration for Linux-like systems.
- list π
Experimental