Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-23 | poller: Retry poll immediately on EINTR | Kenny Levinsen | |
There is nothing for us to dispatch unless we wake on an fd, so just retry poll if it fails with EINTR instead of doing a full dispatch loop. | |||
2020-09-22 | poller: Add unittest | Kenny Levinsen | |
2020-09-22 | poller: Raise signals through self-pipe | Kenny Levinsen | |
Signal handling relied on poll(2) being interrupted by signals, followed by a check for signal handlers flagging a signal as received. This only allowed signals that were received during poll(2) to be handled correctly. Implement the usual self-pipe implementation, where signal handlers write an arbitrary byte to a polled file descriptor to ensure proper level-triggered signal handling. | |||
2020-08-31 | poller: Remember to remove sources from list | Kenny Levinsen | |
2020-08-31 | poller: Convert to linked_list | Kenny Levinsen | |
2020-08-31 | poller: Make event sources opaque | Kenny Levinsen | |
2020-08-03 | poller: Inline the poller into the server struct | Kenny Levinsen | |
2020-08-03 | poller: Remove unnecessary poll_impl abstraction | Kenny Levinsen | |