Skip to main content

abort_current_kernel

Function abort_current_kernel 

Source
pub fn abort_current_kernel()
Expand description

Makes the running kernel’s next leave_if_aborted check fire, which ends the calling process’s segment (Suspend::Done) – the one mechanism $finish uses, reused here for a process that killed itself.