initialize_deferred_call_state_unsafe

Function initialize_deferred_call_state_unsafe 

Source
pub unsafe fn initialize_deferred_call_state_unsafe<P: ThreadIdProvider>()
Expand description

Initialize the static state used by deferred calls.

This ensures it can safely be used as a global variable.

ยงSafety

Callers of this function must ensure that this function is never called concurrently with calls to initialize_deferred_call_state or other calls to initialize_deferred_call_state_unsafe.