dbus exit on disconnect and glib

Havoc Pennington hp at pobox.com
Thu Feb 21 10:44:51 PST 2008


Hi,

On Thu, Feb 21, 2008 at 10:06 AM, Frédéric Dalleau
<frederic.dalleau at access-company.com> wrote:
>  Can someone please confirm if an inconsistency is detected (due to
> multithreading) that dbus will exit?
>

How could we possibly do that? Threading without locks will cause
hundreds of unpredictable segfaults, inconsistencies, etc. These
problems aren't detectable; that's why locks are needed. If you don't
init threads, there are no locks, so if you still use multiple threads
pretty much everything is going to break in pretty much every possible
way...

Havoc


More information about the dbus mailing list