dbus_shutdown

Havoc Pennington hp at redhat.com
Wed Sep 20 10:07:50 PDT 2006



frederic heem wrote:
> Hi,
> dbus_shutdown returns the following message:
> "dbus_shutdown() called but connections were still live!"
> Is there an way to wait for a limited period that the connections send their 
> remaining messages ? 
> 

If you want to be sure they are sent, you can dbus_connection_flush() on 
each which will block until the queue is clear. If you don't care 
whether they are sent, you can just close all the connections, then 
unref them.

Havoc


More information about the dbus mailing list