Function signal_safe_handler

Source
pub unsafe extern "C" fn signal_safe_handler(_sig: i32)
Expand description

Signal handler that just sets a flag - actual scheduling happens outside signal context

ยงSafety

This function is called from signal context and only uses async-signal-safe operations. It only modifies atomic variables and performs no memory allocation or complex operations.