KekLib.OurMmap#

Simplified version of multiprocessin.shared_memory.SharedMemory for debug purposes

class SharedMemory(name=None, create=False, size=0)#

Bases: object

property buf#

A memoryview of contents of the shared memory block.

close()#

Closes access to the shared memory from this instance but does not destroy the shared memory block.

property name#

Unique name that identifies the shared memory block.

property size#

Size in bytes.