<div dir="ltr">Yes, i was changing <span style="font-family:arial,sans-serif;font-size:13px">libdbus-1 source code.</span><div><font face="arial, sans-serif">In the code, before polling only connection lock is released and acquired again.</font></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Is there any specific reason why IO lock is not release and acquired again? (for KDBUS as transport)</font></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jul 28, 2014 at 12:30 AM, <span dir="ltr"><<a href="mailto:dbus-request@lists.freedesktop.org" target="_blank">dbus-request@lists.freedesktop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Send dbus mailing list submissions to<br>
<a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:dbus-request@lists.freedesktop.org">dbus-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:dbus-owner@lists.freedesktop.org">dbus-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of dbus digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. DBUS Queries (megha garg)<br>
2. Re: DBUS Queries (Thiago Macieira)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 27 Jul 2014 13:27:16 +0530<br>
From: megha garg <<a href="mailto:meghashi86@gmail.com">meghashi86@gmail.com</a>><br>
To: <a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br>
Subject: DBUS Queries<br>
Message-ID:<br>
<<a href="mailto:CAByoYZv6nzULd54Fg6fuNrXTd5ZZgF83vfVWUrBjsBRQ9mP3-g@mail.gmail.com">CAByoYZv6nzULd54Fg6fuNrXTd5ZZgF83vfVWUrBjsBRQ9mP3-g@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello All,<br>
<br>
Actually i was looking at DBUS code and have few queries:<br>
<br>
1) I was trying to send data from multiple threads over the shared<br>
connection using send_with_reply_and_block API. But i see that if receiver<br>
does not reply for one thread then other threads on sender will also stay<br>
in block state.<br>
2) To fix this, i have released the IO lock just before polling and after<br>
polling acquiring it back. (using KDBUS as transport).<br>
But i see comment that IO lock is not delibrately removed. Any specific<br>
reasons for this?<br>
<br>
Regards,<br>
Ashish Gupta<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.freedesktop.org/archives/dbus/attachments/20140727/4015ce34/attachment-0001.html" target="_blank">http://lists.freedesktop.org/archives/dbus/attachments/20140727/4015ce34/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 27 Jul 2014 07:35:32 -0700<br>
From: Thiago Macieira <<a href="mailto:thiago@kde.org">thiago@kde.org</a>><br>
To: <a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br>
Subject: Re: DBUS Queries<br>
Message-ID: <3651295.KBEhhmLV9H@tjmaciei-mobl4><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
On Sunday 27 July 2014 13:27:16 megha garg wrote:<br>
> Hello All,<br>
><br>
> Actually i was looking at DBUS code and have few queries:<br>
><br>
> 1) I was trying to send data from multiple threads over the shared<br>
> connection using send_with_reply_and_block API. But i see that if receiver<br>
> does not reply for one thread then other threads on sender will also stay<br>
> in block state.<br>
<br>
Correct.<br>
<br>
> 2) To fix this, i have released the IO lock just before polling and after<br>
> polling acquiring it back. (using KDBUS as transport).<br>
> But i see comment that IO lock is not delibrately removed. Any specific<br>
> reasons for this?<br>
<br>
You modified libdbus-1 source code?<br>
<br>
--<br>
Thiago Macieira - thiago (AT) <a href="http://macieira.info" target="_blank">macieira.info</a> - thiago (AT) <a href="http://kde.org" target="_blank">kde.org</a><br>
Software Architect - Intel Open Source Technology Center<br>
PGP/GPG: 0x6EF45358; fingerprint:<br>
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
dbus mailing list<br>
<a href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
<br>
<br>
------------------------------<br>
<br>
End of dbus Digest, Vol 108, Issue 4<br>
************************************<br>
</blockquote></div><br></div>