MCPcopy Index your code
hub / github.com/python/cpython / release_segment

Method release_segment

Lib/multiprocessing/managers.py:1365–1368  ·  view source on GitHub ↗

Calls unlink() on the shared memory block with the supplied name and removes it from the tracker instance inside the Server.

(self, c, segment_name)

Source from the content-addressed store, hash-verified

1363 self.shared_memory_context.register_segment(segment_name)
1364
1365 def release_segment(self, c, segment_name):
1366 """Calls unlink() on the shared memory block with the supplied name
1367 and removes it from the tracker instance inside the Server."""
1368 self.shared_memory_context.destroy_segment(segment_name)
1369
1370 def list_segments(self, c):
1371 """Returns a list of names of shared memory blocks that the Server

Callers

nothing calls this directly

Calls 1

destroy_segmentMethod · 0.80

Tested by

no test coverage detected