Alex Crichton e86fc4917a Change need_read and need_write to return an error
This commit is targeted at solving tokio-rs/tokio-core#12 and incorporates the
solution from tokio-rs/tokio-core#17. Namely the `need_read` and `need_write`
functions on `PollEvented` now return an error when the connected reactor has
gone away and the task cannot be blocked. This will typically naturally
translate to errors being returned by various connected I/O objects and should
help tear down the world in a clean-ish fashion.
2017-12-05 08:43:01 -08:00
..
2017-10-30 16:37:00 -07:00
2017-10-30 16:37:00 -07:00
2017-10-30 16:37:00 -07:00
2017-10-30 16:37:00 -07:00
2017-11-01 07:28:49 -07:00
2017-10-30 16:37:00 -07:00
2017-10-30 16:37:00 -07:00
2017-10-30 16:37:00 -07:00
2017-12-01 15:34:03 -06:00