Thread safety

keith preston keithpre at
Tue Sep 11 11:52:04 PDT 2007

I've run into a few problems described on this thread.

The solution I use is a custom build of dbus without the locks dropping on
that specific funciton.   It seems to work, because when it calls out of
dbus code in that function it only call the glib add timeout routine

Keith Preston

On 9/11/07, Ross Burton <ross at> wrote:
> Hi,
> If I'm using DBus with the dbus-glib integration, how thread-safe is
> DBus?  Can I go as far as receiving a message in one thread and making
> the reply in another?  I'm expecting a thread pool to be used to handle
> method calls, so there will be a single thread accepting the messages
> but ten different threads sending the replies.
> Cheers,
> Ross
> --
> Ross Burton                                 mail: ross at
>                                           jabber: ross at
>                                      www:
> PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
> _______________________________________________
> dbus mailing list
> dbus at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the dbus mailing list