Running dbus_connection_read_write_dispatch in a separate thread
Thiago Macieira
thiago at kde.org
Thu Jun 18 15:18:50 UTC 2020
On Wednesday, 17 June 2020 10:37:53 PDT Alexandru Sorodoc wrote:
> I will do that eventually, but for now I just want something as minimal
> as possible. I will just set a timeout to the read_write_dispatch call
> until I get to do things properly.
Or don't use read_write_dispatch. Poll the file descriptor yourself with a
poll() call that can be interrupted, then use dbus_connection_dispatch().
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel System Software Products
More information about the dbus
mailing list