SharedMemory¶
- class dsviper.SharedMemory¶
Bases:
objectA class used to represent a shared memory region.
Note: Not directly instantiable.
- address() → int¶
Return the address.
- static create(name: str, size: int) → SharedMemory¶
Create a shared memory segment.
- static exists(name: str) → bool¶
Return True is the name exist.
- fd() → int¶
Return the file descriptor.
- name() → str¶
Return the name.
- static open(name: str, size: int) → SharedMemory¶
Open an exising shared memory segment.
- size() → int¶
Return the size.
- static unlink(name: str) → None¶
Unlink the shared memory object.