Can d-bus be used for communication among threads?
Chen, Shi Jun SLC CT PEK
shijun.chen at siemens.com
Wed Jul 26 18:29:32 PDT 2006
Great! Thx.
I will have a try.
>-----Original Message-----
>From: Havoc Pennington [mailto:hp at redhat.com]
>Sent: Wednesday, July 26, 2006 10:27 PM
>To: Chen, Shi Jun SLC CT PEK
>Cc: dbus at lists.freedesktop.org
>Subject: Re: Can d-bus be used for communication among threads?
>
>
>
>Chen, Shi Jun SLC CT PEK wrote:
>> Dear All,
>>
>> I got the introduction on d-bus and am very interested in
>its goal that
>> providing a framework for convenient communication among different
>> applications, even if they locate different hosts.
>>
>> Here is my concern:
>> Can d-bus be used for communication among threads, besides processes?
>>
>
>Sure. There are probably some bugs in thread safety though if you use
>the same DBusConnection from multiple threads, you may have to debug a
>couple things. If you use a different DBusConnection in each
>thread it's
>probably pretty painless.
>
>Havoc
>
More information about the dbus
mailing list