(self, *args, **kwargs)
| 1334 | ['track_segment', 'release_segment', 'list_segments'] |
| 1335 | |
| 1336 | def __init__(self, *args, **kwargs): |
| 1337 | Server.__init__(self, *args, **kwargs) |
| 1338 | address = self.address |
| 1339 | # The address of Linux abstract namespaces can be bytes |
| 1340 | if isinstance(address, bytes): |
| 1341 | address = os.fsdecode(address) |
| 1342 | self.shared_memory_context = \ |
| 1343 | _SharedMemoryTracker(f"shm_{address}_{getpid()}") |
| 1344 | util.debug(f"SharedMemoryServer started by pid {getpid()}") |
| 1345 | |
| 1346 | def create(self, c, typeid, /, *args, **kwargs): |
| 1347 | """Create a new distributed-shared object (not backed by a shared |
nothing calls this directly
no test coverage detected