drop_handler

Function drop_handler 

Source
pub unsafe fn drop_handler(data: *mut c_void)
Available on non-miri and (Linux or FreeBSD or target_os=hurd or macOS or NetBSD or OpenBSD or Solaris or illumos) only.
Expand description

§Safety

Must be called

  • only with our handler or nullptr
  • only when done with our altstack This disables the alternate signal stack!