dbus and multithreading
Kees Jongenburger
kees.jongenburger at gmail.com
Wed Jun 1 13:51:19 PDT 2011
Hello
On Wed, Jun 1, 2011 at 6:55 PM, Simon McVittie
<simon.mcvittie at collabora.co.uk> wrote:
> On Wed, 01 Jun 2011 at 19:04:19 +0300, Leonid Yurchenko wrote:
>> And will these
>> issues be addressed any time soon, or we are stuck with one-threaded
>> (gmainloop) approach?
I have achieve "working" results by creating private dbus connections
from the threads and initializing their own main loops but it was not
a painless effort to figure out. so Simon suggestion to use GDBus is
certainly a good idea
>
> I have no particular interest in making dbus-glib thread-safe, although I'll
> apply good patches if they come with regression tests.
>
> I'd recommend using GDBus (part of GIO, in modern GLib releases), particularly
> if you like threads: GDBus is already much closer to thread-safe than
> dbus-glib, and is better-designed and much more actively maintained.
More information about the dbus
mailing list