[Development] Evolving Qt's multithreading API
Sorvig Morten
Morten.Sorvig at digia.com
Tue Mar 5 08:45:28 CET 2013
On Mar 5, 2013, at 8:38 AM, André Somers <andre at familiesomers.nl>
wrote:
>
> I'd appreciate a reply on the point that when using a QFutureWatcher,
> you don't know if the future is already done or not at the moment you
> connect.
The intended usage of QFutureWatcher is that you set it up with connections before starting the worker thread/task. Then QFutureWatcher::setFuture() will do the correct thing and emit finished() if the future is already done.
Morten
More information about the Development
mailing list