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

Thiago Macieira thiago at kde.org
Fri May 28 07:32:02 BST 2010


Em Sexta-feira 28. Maio 2010, às 07.20.24, Maksim Orlovich escreveu:
> > In QtDBus binding a call to
> > dbus_set_api_policy(DBUS_API_POLICY_NON_THREAD_SAFETY_FIX,1)  would
> > activate this specific fix
> 
> It's possible for a process to use more than one toolkit at once.
> (For example, in Netscape plugin support implementations with a Qt-based
> host)

True. The alternative patch I've seen was to add new functions with the new 
behaviour and then make Qt start using them. This would enable the behaviour 
per-connection (the connection Qt opens isn't shared with anyone).

The trade-off is that other bindings that, like Qt, were ready, won't get the 
automatic fix.

-- 
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/afd2502f/attachment.sig>


More information about the kde-core-devel mailing list