pub struct TaskControlBlockInner {
Show 16 fields pub trap_cx_ppn: PhysPageNum, pub base_size: usize, pub task_cx: TaskContext, pub task_status: TaskStatus, pub memory_set: MemorySet, pub parent: Option<Weak<TaskControlBlock>>, pub children: Vec<Arc<TaskControlBlock>>, pub exit_code: i32, pub fd_table: Vec<Option<Arc<dyn File + Send + Sync>>>, pub signals: SignalFlags, pub signal_mask: SignalFlags, pub handling_sig: isize, pub signal_actions: SignalActions, pub killed: bool, pub frozen: bool, pub trap_ctx_backup: Option<TrapContext>,
}

Fields

trap_cx_ppn: PhysPageNumbase_size: usizetask_cx: TaskContexttask_status: TaskStatusmemory_set: MemorySetparent: Option<Weak<TaskControlBlock>>children: Vec<Arc<TaskControlBlock>>exit_code: i32fd_table: Vec<Option<Arc<dyn File + Send + Sync>>>signals: SignalFlagssignal_mask: SignalFlagshandling_sig: isizesignal_actions: SignalActionskilled: boolfrozen: booltrap_ctx_backup: Option<TrapContext>

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.