Missing spec pieces (Was Re: [PATCH] client configuration file support)
David Zeuthen
zeuthen at gmail.com
Fri Jun 11 09:09:51 PDT 2010
Hey,
On Fri, Jun 11, 2010 at 12:01 PM, Ralf Habacker
<ralf.habacker at freenet.de> wrote:
> On http://library.gnome.org/devel/gio/unstable/ch28.html there is written
>
> ... avoiding libdbus also lets GDBus avoid some thorny multithreading
> issues.
>
> What kind of design are you using to avoid the multithreading issue(s) ?
We're using a dedicated worker thread (shared by all GDBusConnection
instances) for all IO - makes the whole main loop integration issue
totally moot. If I was doing libdbus v2 (e.g. something to be shared
by e.g. GLib, Qt etc.) I'd probably do something similar.
Cheers,
David
More information about the dbus
mailing list