[][src]Struct kernel::MLFQSched

pub struct MLFQSched<'a, A: 'static + Alarm<'static>> {
    pub processes: [List<'a, MLFQProcessNode<'a>>; 3],
    // some fields omitted
}

Fields

processes: [List<'a, MLFQProcessNode<'a>>; 3]

Implementations

impl<'a, A: 'static + Alarm<'static>> MLFQSched<'a, A>[src]

pub const PRIORITY_REFRESH_PERIOD_MS: u32[src]

How often to restore all processes to max priority

pub const NUM_QUEUES: usize[src]

pub fn new(alarm: &'static A) -> Self[src]

Trait Implementations

impl<'a, A: 'static + Alarm<'static>, C: Chip> Scheduler<C> for MLFQSched<'a, A>[src]

Auto Trait Implementations

impl<'a, A> !Send for MLFQSched<'a, A>

impl<'a, A> !Sync for MLFQSched<'a, A>

impl<'a, A> Unpin for MLFQSched<'a, A> where
    <A as Time>::Ticks: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.