twizzler_abi::syscall

Function sys_thread_exit

source
pub fn sys_thread_exit(code: u64) -> !
Expand description

Exit the thread. The code will be written to the crate::thread::ThreadRepr for the current thread as part of updating the status and code to indicate thread has exited.