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

List:       kde-devel
Subject:    Re: DBUS Transactions
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-06-07 7:15:21
Message-ID: 200606070915.21926.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


John Tapsell wrote:
>  Is it guaranteed that only one dbus call will be made at a time?

No. Don't assume anything.

>I'm worried about transaction code given in
>http://wiki.kde.org/tiki-index.php?page=Porting%20KDELibs%20to%20D-Bus
>
>The transaction code has a: class member QDBusMessage reply;
>
>Imagine if myMethod is called twice, before the first reply is sent.
>Does dbus specifically stop this, or do we have to worry about this in
>our apps?

You have to worry about it.

>Could someone fix the wiki either specifically noting that it's safe,
>or fix the code.

It's a wiki, feel free to do it :-)

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

Configure | About | News | Add a list | Sponsored by KoreLogic