summaryrefslogtreecommitdiff
path: root/man/sd_bus_emit_signal.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-11-21 17:42:04 +0100
committerLennart Poettering <lennart@poettering.net>2022-11-22 13:06:50 +0100
commit3022916b4d2483452c3ddbbac9ee7c4372b1cb46 (patch)
tree30ff35a253e25cde4151287f6098dedeb0a96358 /man/sd_bus_emit_signal.xml
parent108dfff2c7aebadb78e485ed564caf559367bf7c (diff)
downloadsystemd-3022916b4d2483452c3ddbbac9ee7c4372b1cb46.tar.gz
sd-bus: handle -EINTR return from bus_poll()
In sd_bus_wait(), let's convert EINTR to a return code of 0, thus asking the caller do loop again and enter sd_bus_process() again (which will not find any queued events). This way we'll not return an error on something that isn't really an error. This should typically make sure things are properly handled by the caller, magically, without eating up the event entirely, and still giving the caller time to run some code if they want.
Diffstat (limited to 'man/sd_bus_emit_signal.xml')
0 files changed, 0 insertions, 0 deletions