Skip to main content

exit_current

Function exit_current 

Source
pub fn exit_current(exit_code: i32) -> !
Expand description

Stores the exit code, marks the current thread exited, and switches away.