Skip to content

Conversation

0xllx0
Copy link

@0xllx0 0xllx0 commented Oct 6, 2025

Adds a port of the crossbeam::ArrayQueue implementation to replace heapless::mpmc::Queue.

Resolves an issue with contention over concurrent calls to Queue::dequeue <=> Queue::enqueue when the queue is full.

Resolves: #583

0xllx0 added 4 commits October 6, 2025 06:04
Adds the `crossbeam::ArrayQueue` implementation, modified to use
stack-based storage.
Adds a feature-gate for the `mpmc::Queue` crossbeam implementation.
Converts the `crossbeam::ArrayQueue` impl for MPMC to use a
`heapless`-compatible API.
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

Successfully merging this pull request may close these issues.

MpMcQueue can fail to push even when it's not full under contention
1 participant