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
sync: misc improvements #1210
Labels
Milestone
Comments
carllerche
added a commit
that referenced
this issue
Jun 27, 2019
Adds: - oneshot::Sender::close - mpsc::Receiver::recv - mpsc::Sender::send Also renames `poll_next` to `poll_recv`. Refs: #1210
carllerche
added a commit
that referenced
this issue
Jun 27, 2019
Adds: - oneshot::Sender::close - mpsc::Receiver::recv - mpsc::Sender::send Also renames `poll_next` to `poll_recv`. Refs: #1210
Should the channel implementations be shared with futures-channel? |
@archseer futures-channel is welcome to copy whatever code. I don't know what their design goals are, so I cannot comment on whether or not they would want to copy it. Given that the Tokio maintainers are the ones that will be maintaining the tokio-sync channel, it is easier for us to keep it in a crate we can publish to. |
Darksonn
added
A-tokio
Area: The main tokio crate
C-enhancement
Category: A PR with an enhancement or bugfix.
M-sync
Module: tokio/sync
and removed
meta
labels
Jul 25, 2020
Darksonn
added
C-musing
Category: musings about a better world
and removed
C-enhancement
Category: A PR with an enhancement or bugfix.
labels
Jul 25, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tracking misc smaller improvements to
tokio-sync
.This issue is to be closed once there are no remaining breaking changes to make or remaining breaking changes are tracked in separate issues.
Changes
Lock
to borrow.AtomicWaker
into dedicated crate or some other crate.&mut self
requirement forUnboundedSender
.Tests
tests/lock.rs
;fn lock()
. The test depends on thread timing.async
/await
Add
async
/await
APIs for:Polish
memcpy
calls (sync: replace deprecated mem::uninitialized usage with MaybeUninit #1540 (comment)).Documentation
The text was updated successfully, but these errors were encountered: