pub unsafe fn clear_runtime_callback()Expand description
Clear the registered runtime callback
§Safety
This function should only be called when it’s safe to clear the callback, like during testing or application shutdown. The caller must ensure:
- No other thread is concurrently calling functions that dereference the callback pointer
- No signal handlers are currently executing that might invoke the callback
- The callback is not being used in any other way