Skip to main content

drop_handler

Function drop_handler 

Source
pub unsafe fn drop_handler(data: *mut c_void)
Available on (FreeBSD or GNU/Hurd or illumos or Linux or macOS or NetBSD or OpenBSD or Solaris) and non-miri 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!