Struct lambdaOS::task::process::Process [] [src]

pub struct Process {
    pub pid: ProcessId,
    pub name: String,
    pub state: State,
    pub priority: Priority,
    pub ctx: Context,
    pub stack: Option<Vec<usize>>,
}

A single process on the system. It has register context, id, name and an Optional process stack.

Fields

Methods

impl Process
[src]

[src]

[src]

Set the state of the process.

[src]

Set cr3 to point to the address specified by addr.

[src]

Set the stack pointer register.

Trait Implementations

impl Clone for Process
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Process
[src]

[src]

Formats the value using the given formatter.