pub struct TaskProcessAdapter {
pub pid: ProcessId,
pub state: ProcessState,
pub blocked_on: Option<u64>,
/* private fields */
}Expand description
Process-oriented adapter for scheduler tasks.
Bridges the scheduler’s task-centric model with the rest of the kernel’s
process-centric view. Contains a reference back to the underlying Task.
Previously named Process, renamed to TaskProcessAdapter to avoid
confusion with process::pcb::Process (the full process control block).
Fields§
§pid: ProcessId§state: ProcessState§blocked_on: Option<u64>