[Qt-interest] ending an application while blocking sessionBus.call(QDbusMessage)

Thiago Macieira thiago at kde.org
Mon Sep 13 17:20:28 CEST 2010


On Monday 13. September 2010 14.59.53 Gheorghe Marinca wrote:
> Can we reliably post a quit message on application while sessionBuss.call (
> serviceInfoCall ) is progressing, or during that time there is not possible
> for quit message to get posted on the message loop ?

You can post the event, but it won't get processed until the blocking call 
finishes.

D-Bus calls are meant to be quick and return almost immediately, so this 
shouldn't be a problem.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100913/faa0c2d0/attachment.bin 


More information about the Qt-interest-old mailing list