pub struct ProcMgr {
procs: Mutex<HashMap<Pid, Weak<Proc>>>,
events: Arc<EventSet<ProcEvents>>,
}
Expand description
Manage all processes in the system.
Fields§
§procs: Mutex<HashMap<Pid, Weak<Proc>>>
§events: Arc<EventSet<ProcEvents>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ProcMgr
impl !RefUnwindSafe for ProcMgr
impl Send for ProcMgr
impl Sync for ProcMgr
impl Unpin for ProcMgr
impl !UnwindSafe for ProcMgr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more