Running dbus_connection_read_write_dispatch in a separate thread
Lawrence D'Oliveiro
ldo at geek-central.gen.nz
Thu Jun 18 22:54:44 UTC 2020
On Thu, 18 Jun 2020 17:51:14 +0100, Simon McVittie wrote:
> https://gitlab.freedesktop.org/dbus/dbus-glib/-/blob/dbus-gmain/dbus-gmain.c
> is a complete example of everything that's needed, although using
> GLib's main loop abstraction rather than doing its own polling.
Interesting that it’s only about 10% smaller than my slow_dbus_server
example, which is straight C code with only a dependency on on
glibc and libdbus.
More information about the dbus
mailing list