d61820e5ab3176818b8a2326fa25d05a9f135244 (qt/qtbase/dev) 2c5de457813124d312858628fe7b9d46c827cf16 (qt/qtbase/6.1) 878b0ce10ed4d83e6da34aea878113e02bb23710 (qt/qtbase/6.2)
The docs for QFuture::then() say https://doc.qt.io/qt-6/qfuture.html#then :
Attaches a continuation to this future, allowing to chain multiple asynchronous computations if desired. When the asynchronous computation represented by this future finishes, function will be invoked in the same thread in which this future has been running. If the continuation is attached after the parent has already finished, it will be invoked in the thread where the parent lives. This method returns a new QFuture representing the result of the continuation.
I'm not sure what "this future has been running". A future does not run on any thread. Does it mean "on the same thread that fulfills the promise associated to this future"?
Similarly: in "parent has already finished, it will be invoked in the thread where the parent lives", what is meant by "parent" here?
|For Gerrit Dashboard: QTBUG-95273|
|363012,10||Improve docs for QFuture continuations||dev||qt/qtbase||Status: MERGED||+2||0|
|364000,2||Improve docs for QFuture continuations||6.1||qt/qtbase||Status: MERGED||+2||0|
|364001,2||Improve docs for QFuture continuations||6.2||qt/qtbase||Status: MERGED||+2||0|