pub unsafe fn callback_thread_local_destroy(callback: &str)
Expand description

Registers a callback function for destruction of thread locals

Parameters

  • callback - Exported function that will be called back when the reactor is triggered (must match the callback signature that takes the u64 user_data) (if this is not specified the default will be “_thread_local_destroy”)