Function axtask::join

source ·
pub fn join(task: &AxTaskRef) -> Option<i32>
Available on crate feature multitask only.
Expand description

Current task is going to sleep, it will be woken up when the given task exits.

If the given task is already exited, it will return immediately.