summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-08-28 10:09:27 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-08-29 06:10:58 +0000
commitdca1423fc922e5b0a7a017a9b13b21b2aa4dbca6 (patch)
tree237d93cf7b1e9e0b6abeef604d7e5fa4a2ba132c /src/corelib/thread
parent40fe5d43fdc6a95332d19de3e716aab5040dee19 (diff)
Fix documentation of QThreadPool::stackSize
Fix warning qthreadpool.h:61: warning: No documentation for 'QThreadPool::stackSize' Amends e44ff1978344600cd9b1f41949697f0e877fd5cd. Change-Id: I060de623b2befcc55846e1827b9cd58aacf3a3c0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qthreadpool.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/corelib/thread/qthreadpool.cpp b/src/corelib/thread/qthreadpool.cpp
index 9937201619..ba46d98cf9 100644
--- a/src/corelib/thread/qthreadpool.cpp
+++ b/src/corelib/thread/qthreadpool.cpp
@@ -606,17 +606,19 @@ void QThreadPool::reserveThread()
++d->reservedThreads;
}
-/*! \property QThreadPool::stacksize
+/*! \property QThreadPool::stackSize
This property contains the stack size for the thread pool worker
threads.
- The value of the property is uses when the thread pool creates
- new threads only. Changing it has no effect for already created
+ The value of the property is only used when the thread pool creates
+ new threads. Changing it has no effect for already created
or running threads.
The default value is 0, which makes QThread use the operating
- system default stack stize.
+ system default stack size.
+
+ \since 5.10
*/
void QThreadPool::setStackSize(uint stackSize)
{