sd-bus: add asynchronous version of sd_bus_match()
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Dec 2017 20:37:03 +0000 (21:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2018 12:58:32 +0000 (13:58 +0100)
commit7593c7a4953550d61ec53289734abf4ad3065f27
tree5d105fde8b42abecc9a93b6ea844be1d59efc65a
parentacd340158aacce126cb0736681b1fb7cacb07e81
sd-bus: add asynchronous version of sd_bus_match()

We usually enqueue a number of these calls on each service
initialization. Let's do this asynchronously, and thus remove
synchronization points. This improves both performance behaviour and
reduces the chances to deadlock.
src/libsystemd/libsystemd.sym
src/libsystemd/sd-bus/bus-control.c
src/libsystemd/sd-bus/bus-control.h
src/libsystemd/sd-bus/bus-internal.h
src/libsystemd/sd-bus/bus-slot.c
src/libsystemd/sd-bus/sd-bus.c
src/systemd/sd-bus.h