/// Remove an item on the shard's local thread.
Remove an item on the shard's local thread.
Remove an item on the shard ' s local thread .
pub(crate) fn take_local(&self, idx: usize) -> Option<T> {
        debug_assert_eq_in_drop!(Tid::<C>::from_packed(idx).as_usize(), self.tid);
        let (addr, page_index) = page::indices::<C>(idx);
        test_println!("-> remove_local {:?}", addr);
        self.shared
            .get(page_index)?
            .take(addr, C::unpack_gen(idx), self.local(page_index))
    }
pub ( crate ) fn take_local ( & self , idx : usize ) -> Option < T > { debug_assert_eq_in_drop ! ( Tid C from_packed ( idx ) as_usize ( ) self tid ) ; let ( addr , page_index ) = page :: indices :: < C > ( idx ) ; test_println ! ( " " addr ) ; self . shared . get ( page_index ) ? . take ( addr , C :: unpack_gen ( idx ) , self . local ( page_index ) ) }
Remove an item on the shard's local thread.
Remove an item on the shard ' s local thread .
&self
idx
usize