Skip to main content

install_trap_handler

Function install_trap_handler 

Source
pub unsafe fn install_trap_handler() -> Result<(), &'static str>
Expand description

Install the SIGSEGV trap handler.

ยงSafety

Must be called once before any relocation with concurrent access. The handler is process-global and affects all threads.