summaryrefslogtreecommitdiffstats
path: root/examples/gui/openglwindow/openglwindow.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-08-24 09:47:55 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-29 14:14:17 +0200
commit462a266edf88c763db221e547ba96fdfd2a6222b (patch)
tree61825b51f46f3a4fc2b74f60713c68733b4c256c /examples/gui/openglwindow/openglwindow.cpp
parente0d38745258e12a2615030674ff022641dabffef (diff)
QHostInfo: replace a volatile bool with an atomic int
A volatile bool read/store is documented on MSVC to have acquire/release semantics, respectively, but that doesn't need to be true for MinGW, so use explicit memory ordering. Apply the same fix to the Unix implementation, too. Change-Id: Ica466cec50beed830aafa4e3384d82f02e1a47e8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'examples/gui/openglwindow/openglwindow.cpp')
0 files changed, 0 insertions, 0 deletions