Carl Lerche
2e69f2a7fd
sync: track upstream loom changes ( #1407 )
2019-08-07 23:24:22 -07:00
Carl Lerche
2f43b0a023
sync: polish and update API doc examples ( #1398 )
...
- Remove `poll_*` fns from some of the sync types.
- Move `AtomicWaker` and `Lock` to the root of the `sync` crate.
2019-08-06 13:54:56 -07:00
Taiki Endo
03e450deb1
sync: switch branch of loom dev-dependency to master ( #1367 )
...
* sync: switch branch of loom dev-dependency to master
* replace loom::fuzz with loom::model
2019-07-30 10:11:46 -04:00
Carl Lerche
32ceccb465
sync: add async APIs to oneshot and mpsc ( #1211 )
...
Adds:
- oneshot::Sender::close
- mpsc::Receiver::recv
- mpsc::Sender::send
Also renames `poll_next` to `poll_recv`.
Refs: #1210
2019-06-27 11:33:36 -07:00
Carl Lerche
06c473e628
Update Tokio to use std::future
. ( #1120 )
...
A first pass at updating Tokio to use `std::future`.
Implementations of `Future` from the futures crate are updated to implement
`Future` from std. Implementations of `Stream` are moved to a feature flag.
This commits disables a number of crates that have not yet been updated.
2019-06-24 12:34:30 -07:00
Carl Lerche
cb4aea394e
Update Tokio to Rust 2018 ( #1082 )
2019-05-14 10:27:36 -07:00
Carl Lerche
80162306e7
chore: apply rustfmt to all crates ( #917 )
2019-02-21 11:56:15 -08:00
Carl Lerche
3d787b16c7
sync: add loom test for mpsc ( #903 )
...
This patch updates tokio_sync::mpsc to support using loom for fuzz
testing. It includes a basic fuzz test.
2019-02-20 10:05:56 -08:00