Struct os::task::TaskManager
source · [−]pub struct TaskManager {
ready_queue: VecDeque<Arc<TaskControlBlock>>,
}
Expand description
A array of TaskControlBlock
that is thread-safe
Fields
ready_queue: VecDeque<Arc<TaskControlBlock>>
Implementations
sourceimpl TaskManager
impl TaskManager
A simple FIFO scheduler.
Auto Trait Implementations
impl !RefUnwindSafe for TaskManager
impl Send for TaskManager
impl Sync for TaskManager
impl Unpin for TaskManager
impl !UnwindSafe for TaskManager
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