pub fn thread_exit(code: i32) -> !
Exit the current thread with code.
code
This function never returns.