lockless-generic-ring-buffer
lockless-generic-ring-buffer copied to clipboard
Multi-process support?
I am curious if this supports multi-process cases where the ring buffer is shared memory (either shared mmap or shmem). Have you tested this, is it meant to be supported?
Currently, I have not tested this in a multi-process scenario.
Given that this package heavily relies on sync/atomic and that I am unsure how its memory model holds up in a multi-process environment (my initial searches didn't turn up any concrete information) my initial thoughts are that it will not work. It is very possible that it could work, I just can't guarantee it in good faith.
I understand this is a use case and I would love to support it . However, I will likely not be testing this in the near future given my current time constraints.