dbus exit on disconnect and glib
Havoc Pennington
hp at pobox.com
Thu Feb 21 17:51:51 PST 2008
Hi,
On Thu, Feb 21, 2008 at 7:36 PM, Frederic Dalleau
<Frederic.Dalleau at access-company.com> wrote:
> Do you think this scenario is possible:
> A program uses two threads, two proxies and one connection.
> It sends messages without lock. The system bus receives mixed data, this is
> invalid : only choice is disconnection.
> The client then exit.
> Could it be what happened?
Yes, that is very much possible I think.
> And bonus question : Is it possible to use two connections?
>
Definitely, yes you can do that. However you still need to enable
thread locks, since there is some global data in addition to the
connection objects.
Havoc
More information about the dbus
mailing list