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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more