[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Out-of-memory error when using multiple threads
From:       "keith preston" <keithpre () gmail ! com>
Date:       2008-01-10 15:20:53
Message-ID: 3837d8b10801100720x7de3032ejbfcec2444b2b37e2 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


>
> 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

[Attachment #5 (text/html)]

<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px \
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>To \
simplify the question for binding authors - is anyone calling <br>anything besides \
ref, unref, get_data, set_data on DBusConnection inside<br>the add/remove/toggle \
watch/timeout handlers? This patch would make any<br>other DBusConnection method \
deadlock.<br><font color="#888888"><br> Havoc<br></font></blockquote><div>As \
originator of the bug a while ago, I approve of the patch.&nbsp;&nbsp; It&#39;s a \
much better version of the hack I&#39;ve been using.&nbsp;&nbsp;&nbsp; Without it I \
don&#39;t think that threads are usable.&nbsp;&nbsp; As a note, I&#39;m using the \
glib bindings and they have no problems with this patch.
<br><font color="#888888"><br>Keith Preston</font> <br></div></div><br>



_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic