Skip to main content

xila_process_exit

Function xila_process_exit 

Source
pub unsafe extern "C" fn xila_process_exit(
    process: *const Process,
    status: i32,
) -> Status
Expand description

Stop every peer, release the process’s resources, and exit without unwinding. Stopped peers are never resumed: their frames are discarded and their stacks freed when the process’s driver ends, as for a cancelled process. The loader then releases the process heap and image.

Both main and worker entries run without host-owned guards in callback frames, so abandoning the calling stack does not skip their cleanup.

§Safety

Process must be the running process’s capability.