diff options
Diffstat (limited to 'src/corelib/thread/qthread_win.cpp')
-rw-r--r-- | src/corelib/thread/qthread_win.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/thread/qthread_win.cpp b/src/corelib/thread/qthread_win.cpp index 78c4d8d672..ffd476d6d3 100644 --- a/src/corelib/thread/qthread_win.cpp +++ b/src/corelib/thread/qthread_win.cpp @@ -135,8 +135,8 @@ void QAdoptedThread::init() d_func()->id = GetCurrentThreadId(); } -static QVector<HANDLE> qt_adopted_thread_handles; -static QVector<QThread *> qt_adopted_qthreads; +static QList<HANDLE> qt_adopted_thread_handles; +static QList<QThread *> qt_adopted_qthreads; static QBasicMutex qt_adopted_thread_watcher_mutex; static DWORD qt_adopted_thread_watcher_id = 0; static HANDLE qt_adopted_thread_wakeup = 0; @@ -188,7 +188,7 @@ DWORD WINAPI qt_adopted_thread_watcher_function(LPVOID) break; } - QVector<HANDLE> handlesCopy = qt_adopted_thread_handles; + QList<HANDLE> handlesCopy = qt_adopted_thread_handles; qt_adopted_thread_watcher_mutex.unlock(); DWORD ret = WAIT_TIMEOUT; |