qt5base-lts/src
Marc Mutz 194e0bd7e4 QDBusIntegrator: fix unprotected QDBusPendingCallPrivate::waitingForFinished call
There probably is a happens-before relation to all the writes of the bool elsewhere,
but the comment in QDBusPendingCallPrivate says waitingForFinsihed is one of the
variables protected by the mutex, so don't make every reader of the code re-establish
the safety (if indeed, it is safe) oneself again, but just wrap the access in a
mutex lock.

To be able to compile the mutex locking out of release builds, wrap the access
in a function. Make the function static _inline_ so compilers won't complain
about it being unused in release builds.

Change-Id: I914ce91e64e776450c697a3243b35716390a218c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-09-08 01:44:13 +02:00
..
3rdparty Harfbuzz: fix build with NO_OPENTYPE macro defined 2012-08-29 07:56:50 +02:00
concurrent Doc: Fix docbuild when not using -developer-build. 2012-09-01 11:23:56 +02:00
corelib Fix warning about not enough actual parameters for macro. 2012-09-08 01:43:44 +02:00
dbus QDBusIntegrator: fix unprotected QDBusPendingCallPrivate::waitingForFinished call 2012-09-08 01:44:13 +02:00
gui Use QStringList::join(QChar) overload where applicable [QtGui] 2012-09-07 18:41:22 +02:00
network Use QStringList::join(QChar) overload where applicable [QtNetwork] 2012-09-07 18:41:22 +02:00
opengl Make gui/math3d classes use float rather than qreal 2012-09-07 13:27:38 +02:00
platformsupport Use QStringList::join(QChar) overload where applicable [QtWidgets] 2012-09-07 18:41:22 +02:00
plugins QNX: Enable support for hardware buttons in QPA plugin 2012-09-07 18:41:22 +02:00
printsupport Doc: Fix docbuild when not using -developer-build. 2012-09-01 11:23:56 +02:00
sql Use QStringList::join(QChar) overload where applicable [QtSql] 2012-09-03 19:35:25 +02:00
testlib Doc: Fix docbuild when not using -developer-build. 2012-09-01 11:23:56 +02:00
tools Added API Reference Style Guidelines 2012-09-07 15:39:31 +02:00
widgets Use QStringList::join(QChar) overload where applicable [QtWidgets] 2012-09-07 18:41:22 +02:00
winmain Revert "Use true and false in preference to TRUE and FALSE" 2012-09-07 06:25:23 +02:00
xml Doc: Fix docbuild when not using -developer-build. 2012-09-01 11:23:56 +02:00
src.pro src.pro: remove redundant & incorrect platformsupport dependency 2012-08-25 10:29:53 +02:00