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

Respect FIFO for bounded Channel #2922

Merged
merged 6 commits into from
Jun 10, 2022

Conversation

armanbilge
Copy link
Member

H/t @davesmith00000 for reporting and @Daenyth for helping to diagnose it.

The issue was first identified in terms of a synchronous channel: while the channel is blocked awaiting a consumer producers are queued, but then dequeued in reverse-order when there is downstream consumption. This causes the elements to become reversed, effectively FILO.

@armanbilge armanbilge marked this pull request as ready for review June 9, 2022 22:52
@Daenyth
Copy link
Contributor

Daenyth commented Jun 10, 2022

Quick and clean fix 👍

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.

3 participants