Re: DBUS - how to handle muliple bus-message in parallel

Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Geek Central
Message-ID <[email protected]>
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://github.com/ldo/slow_dbus_server> and
<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.
_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.