diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-07-09 00:09:14 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-07-09 00:09:14 +0200 |
commit | 5923e0edc9bb157cf6398b63d51cc3c0aaf06001 (patch) | |
tree | ed84422f263bc6739b6138502c509f947351d1d3 /contrib/systemd | |
parent | 7a6d12ff7a4e3e19d6c7c9e0f2d270491168e785 (diff) |
libseat/seatd: Add dispatch_pending_and_execute
This handler returns the number of dispatched or executed events, or -1
if dispatch_pending failed.
This helper is used to clean up dispatch_background, which now ensures
that all events are executed before we read or poll the connection, and
have improved error handling in the corner case where the second
dispatch_pending failed.
Diffstat (limited to 'contrib/systemd')
0 files changed, 0 insertions, 0 deletions