Running dbus_connection_read_write_dispatch in a separate thread

Thiago Macieira thiago at kde.org
Tue Jun 16 16:23:29 UTC 2020


On Tuesday, 16 June 2020 08:06:34 PDT Alexandru Sorodoc wrote:
> All works fine, but when I want to shutdown the daemon I call
> dbus_connection_close from the main thread but
> dbus_connection_read_write_dispatch (running in the other thread) never
> returns unless it receives a dbus message.
> 
> Is this the expected behaviour?

Yes, unfortunately.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products





More information about the dbus mailing list