Skip to content

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

Description

@padenot

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.

Activity

  1. changed the title [-]Investigate getting / importing an MPSC / MPMP queue for logging[/-] [+]Investigate getting / importing an MPSC / MPMC queue for logging[/+] on Oct 5, 2022
  2. self-assigned this
    on Oct 17, 2022
  3. behunin commented on Oct 24, 2022

    @behunin

    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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions