Skip to main content

rivet_task_exit_core

Function rivet_task_exit_core 

Source
#[unsafe(no_mangle)]
pub extern "C" fn rivet_task_exit_core( val_lo: usize, val_hi: usize, ) -> !
Expand description

Arch trampoline target: the task’s entry returned; val_lo/val_hi carry the return value (or, for >8-byte results, val_lo is a pointer into this task’s own stack). Stores the result, marks the task exited, wakes its joiner, and parks forever.