(self, *args, **kwargs)
| 1293 | ['track_segment', 'release_segment', 'list_segments'] |
| 1294 | |
| 1295 | def __init__(self, *args, **kwargs): |
| 1296 | Server.__init__(self, *args, **kwargs) |
| 1297 | address = self.address |
| 1298 | # The address of Linux abstract namespaces can be bytes |
| 1299 | if isinstance(address, bytes): |
| 1300 | address = os.fsdecode(address) |
| 1301 | self.shared_memory_context = \ |
| 1302 | _SharedMemoryTracker(f"shm_{address}_{getpid()}") |
| 1303 | util.debug(f"SharedMemoryServer started by pid {getpid()}") |
| 1304 | |
| 1305 | def create(self, c, typeid, /, *args, **kwargs): |
| 1306 | """Create a new distributed-shared object (not backed by a shared |
nothing calls this directly
no test coverage detected