Files
tokio/tests
Sebastian Dröge 6ea00162b9 Make CurrentThread::turn() more fair by always parking with 0 timeout… (#313)
This ensures that all fd-based futures are put into the queue for the
current tick, if the CurrentThread is parking via the Reactor.

Otherwise, if there are queued up futures already, only those would be
polled in the turn. These futures could then notify others/themselves to
have the queue still non-empty on the next turn. Which then potentially
allows the reactor to never be polled, and thus fd-based futures are
never queued up and polled.

Also return in the Turn return value whether any futures were polled at
all, which allows the caller to know if any work was done at all in this
turn and based on that adjust behavior.
2018-04-25 10:37:18 -07:00
..
2018-03-29 20:42:59 -07:00
2018-03-29 20:42:59 -07:00
2018-03-23 10:27:58 -07:00
2018-03-29 20:58:02 -07:00
2018-03-29 20:42:59 -07:00
2018-03-30 14:21:48 -07:00