Fix documentation of QThreadPool::stackSize
Fix warning
qthreadpool.h:61: warning: No documentation for 'QThreadPool::stackSize'
Amends e44ff19783
.
Change-Id: I060de623b2befcc55846e1827b9cd58aacf3a3c0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
40fe5d43fd
commit
dca1423fc9
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user