Query regrading message queue
Havoc Pennington
hp at pobox.com
Thu Apr 17 07:33:50 PDT 2008
Hi,
On Thu, Apr 17, 2008 at 3:06 AM, vasanth raj <vasuvraj21 at gmail.com> wrote:
>
> 1)dbus_connection_get_outgoing_size: when used this after getting connection
> i observe that this will return zero..before and after connection...mean to
> say i am not able to get the outgoing size.. can any one say on the same.. i
> observed the same even on the linux....
0 is a valid value, if there are no outgoing messages that have not
been written, which is the normal case really. Why do you need this
number?
> 2) dbus_connection_send_with_reply_and_block: In this according to
> description it say that (If a normal reply is received, it is returned, and
> removed from the incoming message queue) but after usage of this i use
> Stif_dbus_connection_borrow_message0 but i am able to borrow the message
> from the queue.. and i observed the same in Linux too...
You are probably borrowing some other different message.
Havoc
More information about the dbus
mailing list