pub fn add(&mut self, shared_guard: Arc<spin::Mutex<ShmGuard>>) -> ShmId {
        let id = self.get_free_id();
        let shm_identifier = ShmIdentifier {
            addr: 0,
            guard: shared_guard,
        };
        self.shm_identifiers.insert(id, shm_identifier);
        id
    }
/// Insert the `SharedGuard` and return its ID
Insert the `SharedGuard` and return its ID
Insert the ` SharedGuard ` and return its ID
pub fn add(&mut self, shared_guard: Arc<spin::Mutex<ShmGuard>>) -> ShmId {
        let id = self.get_free_id();
        let shm_identifier = ShmIdentifier {
            addr: 0,
            guard: shared_guard,
        };
        self.shm_identifiers.insert(id, shm_identifier);
        id
    }
pub fn add ( & mut self , shared_guard : Arc < spin :: Mutex < ShmGuard > > ) -> ShmId { let id = self . get_free_id ( ) ; let shm_identifier = ShmIdentifier { addr : 0 , guard : shared_guard , } ; self . shm_identifiers . insert ( id , shm_identifier ) ; id }
Insert the `SharedGuard` and return its ID
Insert the ` SharedGuard ` and return its ID
&mut self
shared_guard
Arc<spin::Mutex<ShmGuard>>
&mut self
shared_guard
Arc<spin::Mutex<ShmGuard>>