qt5base-lts/src/winmain
Andrew Knight b46e48f1b7 winrt: Use native threading
Instead of using std::thread, use the WinRT ThreadPool to manage
threads. This allows for setting the scheduling priority, and provides
a path to enable XAML integration (which requires Qt run on a background
thread).

QThread::terminate() is still unsupported, and only the winmain thread
can be adopted due to the behavior of the thread pool when creating
tasks from the GUI thread. The associated tests are now skipped, and
all other QThread tests pass.

Task-number: QTBUG-31397
Change-Id: Ib512a328412e1dffecdc836bc39de3ccd37afa13
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-06-25 16:34:39 +02:00
..
qtmain_win.cpp Windows: Use WinAPI CommandLineToArgvW() to create argv from command line. 2014-05-15 09:34:19 +02:00
qtmain_winrt.cpp winrt: Use native threading 2014-06-25 16:34:39 +02:00
winmain.pro Windows: Use WinAPI CommandLineToArgvW() to create argv from command line. 2014-05-15 09:34:19 +02:00