pub struct ProcessControlBlock {
pub pid: PidHandle,
inner: UPSafeCell<ProcessControlBlockInner>,
}
Expand description
Process Control Block
Fields
pid: PidHandle
immutable
inner: UPSafeCell<ProcessControlBlockInner>
mutable
Implementations
sourceimpl ProcessControlBlock
impl ProcessControlBlock
sourcepub fn inner_exclusive_access(&self) -> RefMut<'_, ProcessControlBlockInner>
pub fn inner_exclusive_access(&self) -> RefMut<'_, ProcessControlBlockInner>
inner_exclusive_access
Auto Trait Implementations
impl !RefUnwindSafe for ProcessControlBlock
impl Send for ProcessControlBlock
impl Sync for ProcessControlBlock
impl Unpin for ProcessControlBlock
impl !UnwindSafe for ProcessControlBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more