Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-process support? #20

Open
superchalupa opened this issue Jan 31, 2022 · 1 comment
Open

Multi-process support? #20

superchalupa opened this issue Jan 31, 2022 · 1 comment

Comments

@superchalupa
Copy link

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?

@GavinClarke0
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants