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

List:       freedesktop-dbus
Subject:    Re: dbus_connection_send_with_reply_and_block error
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-02-26 7:42:30
Message-ID: 200802260842.31346.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Sumit Kumar Jain wrote:
>I have a test code that calls
> dbus_connection_send_with_reply_and_block(). The API documentation says
> that the message is removed of the incoming queue and hence if we call
> dbus_connection_borrow_message(), it should return NULL. However thats
> not the case.
>
>Any help. Have I misinterpreted the documentation by any chance.

I don't think so. But your code does not prove that borrow_message is the 
same as reply.

In fact, I am pretty sure it isn't. You probably borrowed one of the 
signals that the D-Bus daemon sent you when you connected.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

_______________________________________________
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