-
Notifications
You must be signed in to change notification settings - Fork 648
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 c8ac593)
- Loading branch information
Showing
3 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters