pub fn exit(exit_code: i32) -> !
Exits the current thread.
For single-threaded configuration (multitask feature is disabled), it directly terminates the main thread and shutdown.
multitask