Struct os::task::TaskManagerInner
source · [−]struct TaskManagerInner {
tasks: Vec<TaskControlBlock>,
current_task: usize,
}
Expand description
The task manager inner in ‘UPSafeCell’
Fields
tasks: Vec<TaskControlBlock>
task list
current_task: usize
id of current Running
task
Auto Trait Implementations
impl RefUnwindSafe for TaskManagerInner
impl Send for TaskManagerInner
impl Sync for TaskManagerInner
impl Unpin for TaskManagerInner
impl UnwindSafe for TaskManagerInner
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more