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

Add an mpmc concurrent queue #125712

Closed
RalfJung opened this issue May 29, 2024 · 1 comment · Fixed by #126839
Closed

Add an mpmc concurrent queue #125712

RalfJung opened this issue May 29, 2024 · 1 comment · Fixed by #126839
Assignees
Labels
A-concurrency Area: Concurrency C-enhancement Category: An issue proposing an enhancement or a PR with one. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@RalfJung
Copy link
Member

RalfJung commented May 29, 2024

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.

@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label May 29, 2024
@RalfJung RalfJung added A-concurrency Area: Concurrency T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. labels May 29, 2024
@jieyouxu jieyouxu added C-enhancement Category: An issue proposing an enhancement or a PR with one. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels May 29, 2024
@obeis
Copy link
Contributor

obeis commented Jun 21, 2024

@rustbot claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-concurrency Area: Concurrency C-enhancement Category: An issue proposing an enhancement or a PR with one. E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants