Out-of-memory error when using multiple threads

keith preston keithpre at gmail.com
Thu Jan 10 07:20:53 PST 2008


>
> To simplify the question for binding authors - is anyone calling
> anything besides ref, unref, get_data, set_data on DBusConnection inside
> the add/remove/toggle watch/timeout handlers? This patch would make any
> other DBusConnection method deadlock.
>
> Havoc
>
As originator of the bug a while ago, I approve of the patch.   It's a much
better version of the hack I've been using.    Without it I don't think that
threads are usable.   As a note, I'm using the glib bindings and they have
no problems with this patch.

Keith Preston
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080110/d4416246/attachment.html 


More information about the dbus mailing list