rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
96.64k stars 12.49k forks source link

Add an mpmc concurrent queue #125712

Open RalfJung opened 3 months ago

RalfJung commented 3 months ago

std currently has an MPSC queue, but the underlying implementation is MPMC, so it'd make sense to expose an MPMC queue as well. @rust-lang/libs-api has approved the general idea of exposing an MPMC queue.

The next step is to sketch the concrete API that would be added; some of the open questions are mentioned here. An ACP should then be filed for that API.

obeis commented 2 months ago

@rustbot claim