async-std/tests
Thayne McCombs db438abb8f
Implement async_std::sync::Condvar (#369)
* Implement async_std::sync::Condvar

Part of #217

* More rigourous detection of notification for condvar

* Use state of Waker instead of AtomicUsize to keep track of if task was
notified.

* Add test for notify_all

* Implement wait_timeout_until

And add warnings about spurious wakeups to wait and wait_timeout

* Use WakerSet for Condvar

This should also address concerns about spurious wakeups.

* Add test for wait_timeout with no lock held

* Add comments describing AwaitNotify struct

And remove an unnneded comment in a Debug implementation
2020-04-12 13:35:18 +02:00
..
addr.rs Implement an async version of ToSocketAddrs (#74) 2019-09-04 20:09:49 +02:00
block_on.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
buf_writer.rs fix clippy::cognitive_complexity 2019-10-27 20:32:22 +09:00
channel.rs fix channel tests 2020-03-15 23:53:03 +01:00
condvar.rs Implement async_std::sync::Condvar (#369) 2020-04-12 13:35:18 +02:00
io_timeout.rs Revert "Stabilize most stream method and remove unnecessary macros" 2020-03-12 18:34:09 +09:00
mutex.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
rwlock.rs $cargo fix -Z unstable-options --clippy --features unstable 2019-10-27 20:31:53 +09:00
stream.rs Stream::merge does not end prematurely if one stream is delayed (#437) 2019-11-03 00:11:59 +01:00
task_local.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
tcp.rs Implement Clone for TcpStream (#689) 2020-01-28 18:14:16 +01:00
udp.rs remove async_await feature gate 2019-08-21 00:29:35 -07:00
uds.rs Fix uds listener hanging on accept (#272) 2019-10-07 16:49:42 +02:00
verbose_errors.rs fix open_file test code 2019-11-28 19:52:46 +09:00