QThread: Link to QThreadPool::(set)serviceLevel
QThreadPool's functions already links to the QThread ones, but they didn't link back. From the API review. Change-Id: I02853d8110806f735b748d022a1cfaea5a72d603 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit bbcf47a07d3ec138016d4f997c9b4849598c2f10) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
0a4ff045f1
commit
2aaaf7cf12
@ -567,7 +567,7 @@ uint QThread::stackSize() const
|
|||||||
\value Eco The scheduler should run this thread to an energy-efficient CPU
|
\value Eco The scheduler should run this thread to an energy-efficient CPU
|
||||||
core.
|
core.
|
||||||
|
|
||||||
\sa Priority, serviceLevel()
|
\sa Priority, serviceLevel(), QThreadPool::serviceLevel()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@ -581,7 +581,7 @@ uint QThread::stackSize() const
|
|||||||
The function call will complete successfully on other platforms but will
|
The function call will complete successfully on other platforms but will
|
||||||
not currently have any effect.
|
not currently have any effect.
|
||||||
|
|
||||||
\sa serviceLevel()
|
\sa serviceLevel(), QThreadPool::setServiceLevel()
|
||||||
*/
|
*/
|
||||||
void QThread::setServiceLevel(QualityOfService serviceLevel)
|
void QThread::setServiceLevel(QualityOfService serviceLevel)
|
||||||
{
|
{
|
||||||
@ -601,7 +601,7 @@ void QThread::setServiceLevel(QualityOfService serviceLevel)
|
|||||||
|
|
||||||
Return the current Quality of Service level of the thread.
|
Return the current Quality of Service level of the thread.
|
||||||
|
|
||||||
\sa setServiceLevel()
|
\sa setServiceLevel(), QThreadPool::serviceLevel()
|
||||||
*/
|
*/
|
||||||
QThread::QualityOfService QThread::serviceLevel() const
|
QThread::QualityOfService QThread::serviceLevel() const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user