Systemd/src/systemd
Lennart Poettering b778cba4bf sd-event: optionally, if an event source fails, exit the event loop
Currently, if an event source callback returns an error, we'll disable
the event source and continue. This adds a per-event source flag that if
turned on goes further: the event loop is also exited, propagating the
error code.

This is inspired by some patterns repeatedly seen in #15206.

The idea is that event sources that server the "primary" function of a
program are marked like this, so that if they fail the failure is
instantly propagated and terminates the program.
2020-10-07 09:38:41 +02:00
..
_sd-common.h
meson.build
sd-bus-protocol.h
sd-bus-vtable.h
sd-bus.h
sd-daemon.h
sd-device.h
sd-dhcp-client.h
sd-dhcp-lease.h
sd-dhcp-option.h
sd-dhcp-server.h
sd-dhcp6-client.h
sd-dhcp6-lease.h
sd-dhcp6-option.h
sd-event.h sd-event: optionally, if an event source fails, exit the event loop 2020-10-07 09:38:41 +02:00
sd-hwdb.h
sd-id128.h
sd-ipv4acd.h
sd-ipv4ll.h
sd-journal.h
sd-lldp.h
sd-login.h
sd-messages.h
sd-ndisc.h
sd-netlink.h
sd-network.h
sd-path.h
sd-radv.h
sd-resolve.h
sd-utf8.h