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

fix mpsc::Sender::poll_complete impl #1240

Merged
merged 3 commits into from
Sep 2, 2018

Conversation

carllerche
Copy link
Member

This fixes the "bounded senders are actually unbounded" problem. The
problem is discussed here: #984

The issue probably exists in the unsync mod. I am not sure about 0.3

This fixes the "bounded senders are actually unbounded" problem. The
problem is discussed here: rust-lang#984
@carllerche carllerche mentioned this pull request Sep 1, 2018
2 tasks
The bench is written assuming internal implementation details of the
channel which have changed after this fix. I removed the assertion which
isn't neecessary.
@MajorBreakfast
Copy link
Contributor

@seanmonstar Could you review this one as well?

Copy link
Contributor

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another backport from tokio.

@MajorBreakfast MajorBreakfast merged commit 4b0e217 into rust-lang:0.1 Sep 2, 2018
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