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

Investigate getting / importing an MPSC / MPMC queue for logging #727

Open
padenot opened this issue Oct 5, 2022 · 1 comment
Open

Investigate getting / importing an MPSC / MPMC queue for logging #727

padenot opened this issue Oct 5, 2022 · 1 comment
Assignees

Comments

@padenot
Copy link
Collaborator

padenot commented Oct 5, 2022

It's easy to get one in rust, but our backends aren't all in rust, and it will be best to have something in the meantime, see mozilla/cubeb-coreaudio-rs#180.

@ChunMinChang suggests https://github.com/facebook/folly/blob/fe37daacf861700585d303b277138cb18a92686c/folly/MPMCQueue.h or https://github.com/cameron314/concurrentqueue.

@padenot padenot changed the title Investigate getting / importing an MPSC / MPMP queue for logging Investigate getting / importing an MPSC / MPMC queue for logging Oct 5, 2022
@ChunMinChang ChunMinChang self-assigned this Oct 17, 2022
@behunin
Copy link

behunin commented Oct 24, 2022

For your consideration:
https://github.com/yuzu-emu/yuzu/blob/master/src/common/bounded_threadsafe_queue.h

I contributed this queue to that project.

Its base design came from:
https://github.com/rigtorp/MPMCQueue

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

3 participants