]> git.ipfire.org Git - thirdparty/systemd.git/commit
tree-wide: port to fd_wait_for_event()
authorLennart Poettering <lennart@poettering.net>
Wed, 10 Jun 2020 09:43:40 +0000 (11:43 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 10 Jun 2020 18:06:10 +0000 (20:06 +0200)
commit0f2d351f790516bc3f1158d964c5f83f339addb2
treef9df08ab66c5c7be26c92e1767d39835cc9f472c
parent24bd74ae03efc98272236bd0a98a1d7d090d540c
tree-wide: port to fd_wait_for_event()

Prompted by the discussion on #16110, let's migrate more code to
fd_wait_for_event().

This only leaves 7 places where we call into poll()/poll() directly in
our entire codebase. (one of which is fd_wait_for_event() itself)
src/basic/io-util.c
src/basic/socket-util.c
src/libsystemd/sd-bus/bus-socket.c
src/libsystemd/sd-daemon/sd-daemon.c
src/libsystemd/sd-netlink/sd-netlink.c
src/libudev/libudev-monitor.c
src/shared/utmp-wtmp.c
src/shared/varlink.c
src/sleep/sleep.c
src/udev/udevadm-settle.c
src/userdb/userwork.c