QDBusMetaTypeId: replace a volatile bool with an atomic int
authorMarc Mutz <marc.mutz@kdab.com>
Fri, 24 Aug 2012 07:47:55 +0000 (09:47 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 22 Sep 2012 17:19:41 +0000 (19:19 +0200)
commit7121bcca2d937dfad7ba4bd549a57c74dcbf856b
tree096b71c132d0f781ad18e1fb918101f4f6e3fd88
parent373a7277db0583fbbb8ed61f9f61d6f77ed95da4
QDBusMetaTypeId: replace a volatile bool with an atomic int

Since there is no non-atomic data that is protected by 'initialized'
anymore, the read from, and the store to, 'initialized' may now have
relaxed memory ordering.

Change-Id: I58004e782d9fd93122efb31fa5b30ee160646d99
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/dbus/qdbusmetatype.cpp