Changeset 561 for trunk/src/corelib/concurrent
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 38 edited
-
. (modified) (1 prop)
-
src/corelib/concurrent/qfuture.cpp (modified) (5 diffs)
-
src/corelib/concurrent/qfuture.h (modified) (4 diffs)
-
src/corelib/concurrent/qfutureinterface.cpp (modified) (3 diffs)
-
src/corelib/concurrent/qfutureinterface.h (modified) (4 diffs)
-
src/corelib/concurrent/qfutureinterface_p.h (modified) (3 diffs)
-
src/corelib/concurrent/qfuturesynchronizer.cpp (modified) (5 diffs)
-
src/corelib/concurrent/qfuturesynchronizer.h (modified) (3 diffs)
-
src/corelib/concurrent/qfuturewatcher.cpp (modified) (7 diffs)
-
src/corelib/concurrent/qfuturewatcher.h (modified) (3 diffs)
-
src/corelib/concurrent/qfuturewatcher_p.h (modified) (5 diffs)
-
src/corelib/concurrent/qrunnable.cpp (modified) (4 diffs)
-
src/corelib/concurrent/qrunnable.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentcompilertest.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentexception.cpp (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentexception.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentfilter.cpp (modified) (4 diffs)
-
src/corelib/concurrent/qtconcurrentfilter.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentfilterkernel.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentfunctionwrappers.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentiteratekernel.cpp (modified) (5 diffs)
-
src/corelib/concurrent/qtconcurrentiteratekernel.h (modified) (8 diffs)
-
src/corelib/concurrent/qtconcurrentmap.cpp (modified) (7 diffs)
-
src/corelib/concurrent/qtconcurrentmap.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentmapkernel.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentmedian.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentreducekernel.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentresultstore.cpp (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentresultstore.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentrun.cpp (modified) (4 diffs)
-
src/corelib/concurrent/qtconcurrentrun.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentrunbase.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentstoredfunctioncall.h (modified) (3 diffs)
-
src/corelib/concurrent/qtconcurrentthreadengine.cpp (modified) (10 diffs)
-
src/corelib/concurrent/qtconcurrentthreadengine.h (modified) (9 diffs)
-
src/corelib/concurrent/qthreadpool.cpp (modified) (11 diffs)
-
src/corelib/concurrent/qthreadpool.h (modified) (3 diffs)
-
src/corelib/concurrent/qthreadpool_p.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/corelib/concurrent/qfuture.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the QtCore module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 45 45 \since 4.4 46 46 47 48 47 49 To start a computation, use one of the APIs in the 48 \l { threads.html#qtconcurrent-intro}{Qt Concurrent} framework.50 \l {}{Qt Concurrent} framework. 49 51 50 52 QFuture allows threads to be synchronized against one or more results … … 91 93 To interact with running tasks using signals and slots, use QFutureWatcher. 92 94 93 \sa QFutureWatcher, { threads.html#qtconcurrent-intro}{Qt Concurrent}95 \sa QFutureWatcher, {}{Qt Concurrent} 94 96 */ 95 97 -
trunk/src/corelib/concurrent/qfuture.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the QtCore module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 211 211 bool operator!=(const QFuture &other) const { return (d != other.d); } 212 212 213 #if ndef QT_NO_MEMBER_TEMPLATES213 #if 214 214 template <typename T> 215 215 QFuture(const QFuture<T> &other) -
trunk/src/corelib/concurrent/qfutureinterface.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the QtCore module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/corelib/concurrent/qfutureinterface.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the QtCore module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 166 166 QFutureInterface &operator=(const QFutureInterface &other) 167 167 { 168 169 168 170 QFutureInterfaceBase::operator=(other); 169 171 return *this; -
trunk/src/corelib/concurrent/qfutureinterface_p.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the QtCore module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/corelib/concurrent/qfuturesynchronizer.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the QtCore module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 45 45 \brief The QFutureSynchronizer class is a convenience class that simplifies 46 46 QFuture synchronization. 47 47 48 \ingroup thread 49 48 50 QFutureSynchronizer is a template class that simplifies synchronization of 49 51 one or more QFuture objects. Futures are added using the addFuture() or … … 64 66 cancelOnWait() function. 65 67 66 \sa QFuture, QFutureWatcher, { threads.html#qtconcurrent-intro}{Qt Concurrent}68 \sa QFuture, QFutureWatcher, {}{Qt Concurrent} 67 69 */ 68 70 -
trunk/src/corelib/concurrent/qfuturesynchronizer.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the QtCore module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/corelib/concurrent/qfuturewatcher.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the QtCore module of the Qt Toolkit. …
