src/corelib/concurrent/qfuturewatcher.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
child 30 5dc02b23752f
--- a/src/corelib/concurrent/qfuturewatcher.cpp	Mon Mar 15 12:43:09 2010 +0200
+++ b/src/corelib/concurrent/qfuturewatcher.cpp	Thu Apr 08 14:19:33 2010 +0300
@@ -499,6 +499,13 @@
 /*! \fn void QFutureWatcher::setFuture(const QFuture<T> &future)
 
     Starts watching the given \a future.
+
+    One of the signals might be emitted for the current state of the
+    \a future. For example, if the future is already stopped, the
+    finished signal will be emitted.
+
+    To avoid a race condition, it is important to call this function
+    \i after doing the connections.
 */
 
 /*! \fn QFuture<T> QFutureWatcher::future() const