This commit is contained in:
Kovid Goyal 2022-03-10 10:48:08 +05:30
parent 4c392426f6
commit a1311a2332
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -33,9 +33,10 @@ def make_filename(prefix: str) -> str:
class SharedMemory:
'''
Create or access randomly named shared memory.
Create or access randomly named shared memory. To create call with empty name and specific size.
To access call with name only.
WARNING: The actual size of the shared memory wmay be larger than the requested size.
WARNING: The actual size of the shared memory may be larger than the requested size.
'''
_fd: int = -1
_name: str = ''