libsystemd: Should each thread open its own dbus connection (sd_bus*)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.

_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux