diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2012-08-24 09:47:55 +0200 |
|---|---|---|
| committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-29 14:14:17 +0200 |
| commit | 462a266edf88c763db221e547ba96fdfd2a6222b (patch) | |
| tree | 61825b51f46f3a4fc2b74f60713c68733b4c256c /examples/gui/openglwindow/openglwindow.cpp | |
| parent | e0d38745258e12a2615030674ff022641dabffef (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
