DBUS - how to handle muliple bus-message in parallel
ldo at geek-central.gen.nz
Fri Nov 2 00:46:26 UTC 2018
On Thu, 23 Aug 2018 14:10:51 +1200, I wrote:
> Enclosed is a reasonably fully-worked example, showing how to hook
> DBusWatch and DBusTimeout objects into a custom event loop ...
This source code is now available online at
<https://gitlab.com/ldo/slow_dbus_server>. I have done a few minor
updates, including an important bugfix to the argument-extraction code
for the count_primes method: I forgot to terminate the
dbus_message_get_args call with a DBUS_TYPE_INVALID arg, so it was
always returning an error, which I was ignoring anyway. Not any more.
More information about the dbus