[systemd-devel] libsystemd: Should each thread open its own dbus connection (sd_bus*)?
Fabian Knapp
knapp at ambibox.de
Fri Nov 16 08:02:51 UTC 2018
I have an executable that opens a dbus connection with sd_bus_open_system at init time and cleanup and close this connection only on exit.
This connection is used in multiple threads (in a thread safe manner) and im wondering if this is suitable since sd_bus_add_match seems to time out if the sd_bus* object is created from another thread than the call to sd_bus_add_match happens.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20181116/ce9f069f/attachment.html>
More information about the systemd-devel
mailing list