Missing spec pieces (Was Re: [PATCH] client configuration file support)

Thiago Macieira thiago at kde.org
Fri Jun 11 09:23:00 PDT 2010


Em Sexta-feira 11 Junho 2010, às 18:09:51, David Zeuthen escreveu:
> 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.

I've been toying with the same idea for Qt -- just put all the libdbus-1 code 
in one thread and use Qt thread-synchronisation primitives to talk to it.

But the threading issues that we know of are all fixed now (AFAIK).

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100611/944b7c20/attachment.pgp>


More information about the dbus mailing list