mirror of
https://github.com/apple/swift-nio
synced 2026-11-25 04:47:49 +00:00
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