defer_tls_initializer

Function defer_tls_initializer 

Source
pub fn defer_tls_initializer(f: fn())
Expand description

Register a TLS initializer function for eager execution.

This is called by the eager_static! macro. The function pointer f must be a zero-argument function (fn()) that performs a .with(|_| {}) on the thread-local static it is meant to initialize.