]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-event: retrieve more events when epoll_wait() returns number equivalent to the... 18331/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 21 Jan 2021 07:08:33 +0000 (16:08 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 1 Feb 2021 16:14:39 +0000 (01:14 +0900)
commit8b9708d1d39ca1007d0709d7d54588e0afc49994
tree7ca55e91bd6a26680b2a61d5656987ec0266b136
parentac714078bffc76e8b9b57ecdb595613d77a9b37e
sd-event: retrieve more events when epoll_wait() returns number equivalent to the buffer size

When epoll_wait() returns number equivalent to the buffer size, there
may exist remaining events which may have higher priority. To make priority
sorting correctly, let's retrieve all events.
src/libsystemd/sd-event/sd-event.c