Ordering message in kdbus

Zzz Rrr climbforfreedom at gmail.com
Mon Mar 31 07:00:58 PDT 2014


Hello,


(
*I have already asked a similar question on DBus in an other thread. *


*Here, I'm looking for similar information in the first part and then
additionnal information relative to kdbus functionnalities)*



1 - Firstly, I would like to know how incoming messages are processed by
kdbus.


I would like to confirm whether kdbus daemon handles messages in the same
order as it receives or if kdbus handles these messages in out of order way.


 Take an example, we have 3 processes A, B, and C. A sends messages A1, A2,
A3 (in this order), B sends B1, B2 (in this order) and C sends C1.

We know there are several possibilities concerning incomming messages
order. Consider that kdbus receives messages in this order :
A1,A2,B1,A3,C1,B2.


In your opinion, what is the order that kdbus handles messages ? Is it
A1,A2,B1,A3,C1,B2
?


2 - Then, I'm interested in message priority.

In this thread<http://lists.freedesktop.org/archives/dbus/2014-March/016143.html>,
Kay Sievers said *"**Kdbus can also de-queue messages based on their
provided message priority"*.

Considering this, if we take the previous example but with highest priority
for C1 message, what happens to the order in which kdbus handles messages ?
Is it now : C1, A1, A2, B1, A3, B2 ?


Best regards,

ZRA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20140331/63d1b420/attachment.html>


More information about the dbus mailing list