chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:58 +0000 (07:49 +0200)
commit9a24de0ce5140732f09c040073a7f6cbcad73ecf
tree27bbfe5e3c34f26d3002c3660f3763fb36d8a3ba
parenta99096625516de3cce5d0d066b360cfa2369e5c1
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/libelogind/libelogind.sym
src/libelogind/sd-bus/bus-control.c
src/libelogind/sd-bus/bus-control.h
src/libelogind/sd-bus/bus-internal.h
src/libelogind/sd-bus/bus-slot.c
src/libelogind/sd-bus/sd-bus.c
src/systemd/sd-bus.h