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