summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthreadpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qthreadpool.h')
-rw-r--r--src/corelib/thread/qthreadpool.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/thread/qthreadpool.h b/src/corelib/thread/qthreadpool.h
index 0640f415872..d471bb39d83 100644
--- a/src/corelib/thread/qthreadpool.h
+++ b/src/corelib/thread/qthreadpool.h
@@ -72,6 +72,9 @@ public:
void reserveThread();
void releaseThread();
+ void setServiceLevel(QThread::QualityOfService serviceLevel);
+ QThread::QualityOfService serviceLevel() const;
+
QT_CORE_INLINE_SINCE(6, 8)
bool waitForDone(int msecs);
bool waitForDone(QDeadlineTimer deadline = QDeadlineTimer::Forever);