Struct lrs::thread::SchedAttr

Scheduler attributes.

Syntax

struct SchedAttr {
    scheduler: Scheduler,
    flags: SchedFlags,
    nice: u8,
    priority: u8,
    runtime: u64,
    deadline: u64,
    period: u64,
}

Fields

NameDescription
scheduler

The scheduler itself.

flags

Flags that modify the scheduler behavior.

nice

The nice value of the thread.

priority

The static priority of the thread.

runtime

The runtime attribute of the Deadline scheduler.

deadline

The deadline attribute of the Deadline scheduler.

period

The period attribute of the Deadline scheduler.

See also