Review Request: Workaround for non-thread-safety of QDBusConnection

Thiago Macieira thiago at kde.org
Thu May 27 23:24:03 BST 2010


Em Sexta-feira 28. Maio 2010, às 00.14.13, Sebastian Trüg escreveu:
> While it is great that we have a fix I have to agree with Lubos: it will
> probably take a while for distributions to update to DBus 1.4. During
> that time the workaround helps preventing many crashes...

You can't properly work around this from outside QtDBus, sorry.

Unless you have a fully dedicated QDBusConnection and you protect all message 
sends with a mutex (and this includes signal connections).

-- 
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: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100528/bc7986b3/attachment.sig>


More information about the kde-core-devel mailing list