current_task

Function current_task 

Source
pub fn current_task() -> Arc<SpinLock<Task>>
Expand description

获取当前task

§返回值:当前任务的SharedTask