Module destructors

Source
πŸ”¬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