summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthreadpool.cpp
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2012-08-15 06:37:01 +0100
committerQt by Nokia <qt-info@nokia.com>2012-08-15 11:38:37 +0200
commit98804946f289fe8ab866cc7bf3383a29057f9251 (patch)
treeada01afead223ec58579061ef3bb13771782149e /src/corelib/thread/qthreadpool.cpp
parent121062d8848986dcfaf421388a5603b3b48a1e58 (diff)
Make the "\internal" qdoc command stand on its own line
The qdoc manual currently claims that the command must stand on its own line. The change follows the consistency with the rest and how the example looks like inside the qdoc manual for this command. Change-Id: I6b653dc95cf9d84e4adf32220dace5d313678419 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/corelib/thread/qthreadpool.cpp')
-rw-r--r--src/corelib/thread/qthreadpool.cpp22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/corelib/thread/qthreadpool.cpp b/src/corelib/thread/qthreadpool.cpp
index c913146122..8545c06ece 100644
--- a/src/corelib/thread/qthreadpool.cpp
+++ b/src/corelib/thread/qthreadpool.cpp
@@ -68,15 +68,15 @@ public:
*/
-/*!\internal
-
+/*!
+ \internal
*/
QThreadPoolThread::QThreadPoolThread(QThreadPoolPrivate *manager)
:manager(manager), runnable(0)
{ }
-/* \internal
-
+/*
+ \internal
*/
void QThreadPoolThread::run()
{
@@ -150,8 +150,8 @@ void QThreadPoolThread::registerTheadInactive()
}
-/* \internal
-
+/*
+ \internal
*/
QThreadPoolPrivate:: QThreadPoolPrivate()
: isExiting(false),
@@ -242,8 +242,8 @@ bool QThreadPoolPrivate::tooManyThreadsActive() const
return activeThreadCount > maxThreadCount && (activeThreadCount - reservedThreads) > 1;
}
-/*! \internal
-
+/*!
+ \internal
*/
void QThreadPoolPrivate::startThread(QRunnable *runnable)
{
@@ -258,7 +258,8 @@ void QThreadPoolPrivate::startThread(QRunnable *runnable)
thread.take()->start();
}
-/*! \internal
+/*!
+ \internal
Makes all threads exit, waits for each tread to exit and deletes it.
*/
void QThreadPoolPrivate::reset()
@@ -305,7 +306,8 @@ bool QThreadPoolPrivate::waitForDone(int msecs)
return queue.isEmpty() && activeThreads == 0;
}
-/*! \internal
+/*!
+ \internal
Seaches for \a runnable in the queue, removes it from the queue and
runs it if found. This functon does not return until the runnable
has completed.