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 f3d7e2254ba..853055cb30b 100644
--- a/src/corelib/thread/qthreadpool.h
+++ b/src/corelib/thread/qthreadpool.h
@@ -75,6 +75,9 @@ public:
void start(std::function<void()> functionToRun, int priority = 0);
bool tryStart(std::function<void()> functionToRun);
+ void startOnReservedThread(QRunnable *runnable);
+ void startOnReservedThread(std::function<void()> functionToRun);
+
int expiryTimeout() const;
void setExpiryTimeout(int expiryTimeout);