Systemd/src/libsystemd
Lennart Poettering b9350e70aa sd-event: support callback=NULL in IO/child/inotify/defer event sources, too
Also, document this functionality more prominently, including with a
reference from sd_event_exit().

This is mostly to make things complete, as previously we supported NULL
callbacks only in _add_time() and _add_signal(). However, I think this
makes snese for IO event sources too (think: when some fd such as a pipe
end sees SIGHUP or so, exit), as well as defer or post event sources (i.e. exit
once we got nothing else to do). This also adds support for inotify
event sources, simply to complete things (I can't see the immediate use,
but maybe someone else comes up with it).

The only event source type that doesn't allow callback=NULL now are exit
callbacks, but for them they make little sense, as the event loop is
exiting then anyway.
2020-10-07 09:40:16 +02:00
..
sd-bus Merge pull request #17130 from keszybz/static-analyzer-cleanups 2020-09-23 13:23:56 +02:00
sd-daemon Rename strv_split_extract() to strv_split_full() 2020-09-09 09:34:55 +02:00
sd-device sd-device: introduce sd_device_set_sysattr_valuef() 2020-09-11 17:41:10 +09:00
sd-event sd-event: support callback=NULL in IO/child/inotify/defer event sources, too 2020-10-07 09:40:16 +02:00
sd-hwdb tree-wide: drop pointless zero initialization (#16900) 2020-08-30 06:21:20 +09:00
sd-id128 id128: move make_v4_uuid into id128-util.h to make it generally useful 2020-01-20 17:42:03 +01:00
sd-login sd-{login,netlink,network}: use TAKE_FD() in more places 2020-09-22 18:00:44 +02:00
sd-netlink sd-netlink: introduce netlink_message_read_in_addr_union() 2020-10-07 02:44:36 +09:00
sd-network sd-{login,netlink,network}: use TAKE_FD() in more places 2020-09-22 18:00:44 +02:00
sd-path pkg-config: prefix is not really configurable, don't pretend it was 2020-09-11 13:09:06 +02:00
sd-resolve tree-wide: prefer AF_xyz over PF_xyz 2020-09-09 23:42:55 +02:00
sd-utf8 tree-wide: drop empty comments 2018-06-29 11:00:30 +09:00
disable-mempool.c mempool: only enable mempool use when linked to libsystemd-shared.so 2018-10-11 11:10:37 +02:00
libsystemd.pc.in meson: define PROJECT_VERSION as the "bare" project version 2018-12-20 21:35:29 +01:00
libsystemd.sym sd-event: optionally, if an event source fails, exit the event loop 2020-10-07 09:38:41 +02:00
meson.build sd-netlink: save dynamic general netlink message type 2019-10-15 01:57:19 +09:00