diff options
Diffstat (limited to 'tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp')
-rw-r--r-- | tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp b/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp index 820a0b999b..6b8f634e1f 100644 --- a/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp +++ b/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp @@ -185,7 +185,7 @@ void tst_QGlobalStatic::threadStressTest() void run() { QReadLocker l(lock); - //usleep(qrand() * 200 / RAND_MAX); + //usleep(QRandomGenerator::global()->generate(200)); // thundering herd try { threadStressTestGS(); |