Skip to main content

xila_thread_exit

Function xila_thread_exit 

Source
pub unsafe extern "C" fn xila_thread_exit(
    result: *mut c_void,
) -> Status
Expand description

Finish the calling worker with a pointer-sized result. Main must use process exit or return. The worker’s native frames are abandoned.

§Safety

The caller must release resources that would otherwise be leaked when its frames are abandoned. The result is opaque and must survive worker exit.