[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: DBUS - how to handle muliple bus-message in parallel
From:       Lawrence D'Oliveiro <ldo () geek-central ! gen ! nz>
Date:       2018-11-02 0:46:26
Message-ID: 20181102134626.55230e7b () theon ! geek-central ! gen ! nz
[Download RAW message or body]

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
dbus@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dbus

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic