View Code? Open in Web Editor
NEW
An implementation of a circular buffer which makes use of SharedMemory in order to allow sharing of the data across multiple python instances.
Home Page: https://shared-cbuff.readthedocs.io/en/latest/
License: MIT License
shared_cbuff's People
Contributors
Watchers
shared_cbuff's Issues
Traceback (most recent call last):
File "/home/piers/dev/rowstastic/sample_processor.py", line 6, in
buff = SharedCircularBuffer("Rowtastic", create=True, item_size=4, length=1000)
File "/home/piers/dev/rowstastic/venv/lib/python3.9/site-packages/shared_cbuff/buffer.py", line 54, in init
self._memory = shared_memory.SharedMemory(
File "/usr/local/opt/python-3.9.1/lib/python3.9/multiprocessing/shared_memory.py", line 103, in init
self._fd = _posixshmem.shm_open(
FileExistsError: [Errno 17] File exists: '/Rowtastic'