lockless-generic-ring-buffer icon indicating copy to clipboard operation
lockless-generic-ring-buffer copied to clipboard

Multi-process support?

Open superchalupa opened this issue 3 years ago • 1 comments

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?

superchalupa avatar Jan 31 '22 21:01 superchalupa

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.

GavinClarke0 avatar Jan 31 '22 22:01 GavinClarke0