dbus_bus_get versus dbus_connection_open

Havoc Pennington hp at redhat.com
Tue Sep 25 13:32:52 PDT 2007


You are probably just ending up with stuff in a different order, since
bus_get() will do the register() for you prior to returning your
DBusConnection*.

Dispatch status function will only be called when the status *changes*
so you need to check the status at the time that you set the status
function and if there is already stuff to dispatch, be sure you do
that before blocking.

Havoc


More information about the dbus mailing list