Function os::task::current_task
source · pub fn current_task() -> Option<Arc<TaskControlBlock>>
Expand description
Get a copy of the current task
pub fn current_task() -> Option<Arc<TaskControlBlock>>
Get a copy of the current task