Function axstd::thread::exit

source ·
pub fn exit(exit_code: i32) -> !
Expand description

Exits the current thread.

For single-threaded configuration (multitask feature is disabled), it directly terminates the main thread and shutdown.