🔬This is a nightly-only experimental API. (
thread_local_internals
)Expand description
This module provides a way to schedule the execution of the destructor list
and the runtime cleanup function. Calling enable
should ensure that these functions are called at the right times.
Modules§
- key 🔒
Experimental - A lot of UNIX platforms don’t have a specialized way to register TLS destructors for native TLS. Instead, we use one TLS key with a destructor that will run all native TLS destructors in the destructor list.