Skip to content

Conversation

@tomaka
Copy link
Member

@tomaka tomaka commented Sep 4, 2018

Fix #452
See the issue for a description of why this PR

inner.to_notify.insert(TASK_ID.with(|&t| t), task::current());
return Ok(Async::Ready(None));
inner.notifier_read.to_notify.lock().insert(TASK_ID.with(|&t| t), task::current());
return Ok(Async::NotReady);
Copy link
Member Author

Choose a reason for hiding this comment

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

This used to be Ready(None), which is a bug unrelated to this PR.

@tomaka tomaka merged commit ba4bd79 into libp2p:master Sep 4, 2018
@tomaka tomaka deleted the fix-mplex-notif branch September 4, 2018 23:53
twittner added a commit to twittner/yamux that referenced this pull request Sep 6, 2018
Implement a custom `Notify` implementation which in turn notifies
waiting tasks. This is similar to what rust-libp2p's mplex
implementation does (see libp2p/rust-libp2p#455)
for details.
twittner added a commit to twittner/yamux that referenced this pull request Sep 11, 2018
Implement a custom `Notify` implementation which in turn notifies
waiting tasks. This is similar to what rust-libp2p's mplex
implementation does (see libp2p/rust-libp2p#455)
for details.
xmas7 pushed a commit to RubyOnWorld/rust-yamux that referenced this pull request Sep 6, 2022
Implement a custom `Notify` implementation which in turn notifies
waiting tasks. This is similar to what rust-libp2p's mplex
implementation does (see libp2p/rust-libp2p#455)
for details.
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.

2 participants