From kde-core-devel Fri May 28 07:39:39 2010 From: =?ISO-8859-1?Q?Sebastian_Tr=FCg?= Date: Fri, 28 May 2010 07:39:39 +0000 To: kde-core-devel Subject: Re: Review Request: Workaround for non-thread-safety Message-Id: <4BFF733B.8030808 () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=127503242408938 This sounds like a reasonable "workaround" indeed. One which distributors could have less problems accepting than a new major DBus version. Cheers, Sebastian On 05/28/2010 08:34 AM, Ralf Habacker wrote: > Maksim Orlovich schrieb: >>> 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) >> >> >> > where is the problem ? > On a specific installation there will be one dbus installation say 1.2.9 > which includes the fix, but the fix is disabled by default. Also there > is one Qt (with Dbus) installation which checks first if > dbus_set_api_poliycy is available (QtDbus checks presence of every dbus > api function) and if so activate the non thread safety fix. > > All processes using this QDbus installation will be protected by the > acticated fix. > > Other bindings or low-level apps, which may requires patching, have to > call dbus_set_api_policy() to activate this fix. > > Regards > > Ralf > >