qt5base-lts/tests/auto
Samuel Gaist bc00daae71 Add support to set thread priority to QThreadPool
Currently, QThreadPool's generated threads inherit the priority from the
thread they are created and that cannot be changed. This merge request
adds a property to QThreadPool so that the priority of the threads can
be different.

The default behavior does not change.

[ChangeLog][QtCore][QThreadPool] QThreadPool can now be configured to
use a different thread priority when creating new threads than the one
it inherits from the thread it was created in. This will only apply to
the threads started after the property is changed.

Fixes: QTBUG-3481
Change-Id: Ic98d4312d055a3357771abb656516ebd0715918d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2021-04-03 09:14:55 +02:00
..
cmake Rework the failure macros in the Qt CTest kit 2021-03-17 13:34:39 +01:00
concurrent Fix a few compiler warnings in tests 2021-02-02 12:06:05 +01:00
corelib Add support to set thread priority to QThreadPool 2021-04-03 09:14:55 +02:00
dbus dbus: Fix missing QVersionNumber include 2021-01-25 12:09:17 +01:00
gui Remove QEXPECT_FAIL for tests that pass now on Android 2021-03-31 17:31:12 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network Linux: Add abstract address support for QLocal{Socket,Server} 2021-04-01 06:57:04 +01:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other Remove QEXPECT_FAIL from passing test 2021-03-31 10:20:07 +02:00
printsupport Remove the qmake project files 2021-01-07 15:32:28 +01:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql QSqlQuery: make it a move only type 2021-03-21 10:16:56 +01:00
testlib QAbstractItemModelTester: fix false positive when model has zero columns 2021-03-30 10:36:06 +02:00
tools Silence a bunch of gcc warnings for the moc test 2021-03-29 15:59:48 +02:00
widgets Fix some warnings 2021-03-31 10:51:50 +02:00
xml tst_qdom: clean-up the code enabled only before Qt 6 2021-01-15 15:22:08 +01:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00