diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-20 13:49:34 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-08-20 14:03:38 (GMT) |
commit | 354a08b44bcd90cdce22698e204f7306ceea9385 (patch) | |
tree | 5fb8979bbe54e65a83dba8c8e151a4e20720cd55 /examples/qws/dbscreen/dbscreen.cpp | |
parent | 076a2a027b986684cd0c1a08e37256655409b41e (diff) | |
download | Qt-354a08b44bcd90cdce22698e204f7306ceea9385.zip Qt-354a08b44bcd90cdce22698e204f7306ceea9385.tar.gz Qt-354a08b44bcd90cdce22698e204f7306ceea9385.tar.bz2 |
This variable is used to signal a thread to exit. It should be volatile.
It's a long stretch, but it could happen that the compiler optimises
out the checking of the variable because it could not change
synchronously. In any case, it's best to set it to volatile to ensure
that all architectures reload properly (memory ordering semantics)
Reviewed-by: Alexis Menard
Diffstat (limited to 'examples/qws/dbscreen/dbscreen.cpp')
0 files changed, 0 insertions, 0 deletions