Files
swift-nio/Sources
Johannes Weiss 29a9f2aca7 Selector: make sure timerfd is level triggered (#881)
Motivation:

In the Selector (because of the deregistrationsHappened workaround) we
expect all events to be level triggered. If there are deregistrations,
we just expect epoll/kqueue to deliver the event again. But timerfd was
configured as `EPOLLET`. That means is a timer fires after some
deregistrations, we lose it.

Modifications:

make timerfd level triggered

Result:

- no more timer stalls
- fixes #872

(cherry picked from commit c8ac593b39)
2019-03-08 18:24:06 +00:00
..
2018-09-27 11:32:43 +01:00