Function arceos_api::task::ax_wait_for_exit
source · pub fn ax_wait_for_exit(task: AxTaskHandle) -> Option<i32>
Available on crate feature
multitask
only.Expand description
Waits for the given task to exit, and returns its exit code (the
argument of ax_exit
).