Function axtask::current

source ·
pub fn current() -> CurrentTask
Available on crate feature multitask only.
Expand description

Gets the current task.

Panics

Panics if the current task is not initialized.