summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp')
-rw-r--r--tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp b/tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp
index b94d6ee619..1482c21a85 100644
--- a/tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp
+++ b/tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp
@@ -294,7 +294,7 @@ void tst_QMutex::contendedNative()
NativeMutexInitialize(&mutex1);
NativeMutexInitialize(&mutex2);
- QVector<NativeMutexThread *> threads(threadCount);
+ QList<NativeMutexThread *> threads(threadCount);
for (int i = 0; i < threads.count(); ++i) {
threads[i] = new NativeMutexThread(&mutex1, &mutex2, iterations, msleepDuration, use2mutexes);
threads[i]->start();
@@ -361,7 +361,7 @@ void tst_QMutex::contendedQMutex()
QMutex mutex1, mutex2;
- QVector<QMutexThread *> threads(threadCount);
+ QList<QMutexThread *> threads(threadCount);
for (int i = 0; i < threads.count(); ++i) {
threads[i] = new QMutexThread(&mutex1, &mutex2, iterations, msleepDuration, use2mutexes);
threads[i]->start();
@@ -423,7 +423,7 @@ void tst_QMutex::contendedQMutexLocker()
QMutex mutex1, mutex2;
- QVector<QMutexLockerThread *> threads(threadCount);
+ QList<QMutexLockerThread *> threads(threadCount);
for (int i = 0; i < threads.count(); ++i) {
threads[i] = new QMutexLockerThread(&mutex1, &mutex2, iterations, msleepDuration, use2mutexes);
threads[i]->start();