Add a module page for QtConcurrent

Fix some foward references from QtCore in addition. This
will require more work.

Change-Id: Ib1bade18c2cc220a7afe25e9fca6a3f50cb1174b
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
This commit is contained in:
Lars Knoll 2012-08-14 16:43:39 +02:00 committed by Qt by Nokia
parent f73e49808d
commit 55912e14af
3 changed files with 42 additions and 4 deletions

View File

@ -0,0 +1,40 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:FDL$
** GNU Free Documentation License
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of
** this file.
**
** Other Usage
** Alternatively, this file may be used in accordance with the terms
** and conditions contained in a signed written agreement between you
** and Nokia.
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/
/*!
\module QtConcurrent
\title QtConcurrent Module
\ingroup modules
\keyword QtConcurrent
\brief The QtConcurrent module contains functionality to support concurrent execution of program code
The concurrent module extends the basic threading support found in \l{QtCore module}{Qt Core} and
simplifies the development of code that can be executed in parallel on all available CPU cores.
*/

View File

@ -163,7 +163,7 @@
\endtable
In general, it is recommended to only use safe and tested paths and to
avoid introducing ad-hoc threading concepts. QtConcurrent provides an easy
avoid introducing ad-hoc threading concepts. The QtConcurrent module provides an easy
interface for distributing work to all of the processor's cores. The
threading code is completely hidden in the QtConcurrent framework, so you
don't have to take care of the details. However, QtConcurrent can't be used

View File

@ -392,9 +392,7 @@ void QThreadPoolPrivate::stealRunnable(QRunnable *runnable)
QThreadPool.
Note that QThreadPool is a low-level class for managing threads, see
QtConcurrent::run() or the other
\l {Concurrent Programming}{Qt Concurrent} APIs for higher
level alternatives.
the Qt Concurrent module for higher level alternatives.
\sa QRunnable
*/