diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2013-09-21 16:11:57 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-23 02:47:49 +0200 |
commit | 05cd06cff378cecec071a2aa6f7cb4ee97a9ea6f (patch) | |
tree | 751e749191462c363a6c742e1d06f54d92cbfb76 /examples | |
parent | c0251f3041b9c7d6968e34dcdb8dd1b24a2c97c6 (diff) |
tst_QReadWriteLock: replace a volatile bool with an atomic int
Fixes the obvious race between the test of 'release' in the thread
and the setting of 'release' in the test function.
Change-Id: I92df52d7b18e8154f17229a3dbd4a0e58f4a3b5b
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions