qt5base-lts/tests/auto/corelib/thread/qreadwritelock
Marc Mutz 05cd06cff3 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>
2013-09-23 02:47:49 +02:00
..
.gitignore
qreadwritelock.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
tst_qreadwritelock.cpp tst_QReadWriteLock: replace a volatile bool with an atomic int 2013-09-23 02:47:49 +02:00