(self)
Call this function to indicate that this page has had a reference added to it and must be copied before it can
        be acquired uniquely again. Creating the object implicitly starts it with one shared reference.
Call this function to indicate that this page has had a reference added to it and must be copied before it can
        be acquired uniquely again. Creating the object implicitly starts it with one shared reference.
Call this function to indicate that this page has had a reference added to it and must be copied before it can be acquired uniquely again . Creating the object implicitly starts it with one shared reference .
def acquire_shared(self) -> None:
        """
        Call this function to indicate that this page has had a reference added to it and must be copied before it can
        be acquired uniquely again. Creating the object implicitly starts it with one shared reference.
        """
        with self.lock:
            self.refcount += 1
def acquire_shared ( self ) -> None : with self . lock : self . refcount += 1