[Qt-interest] QConcurrent, QFutureWatcher, Multi-thread programming question

Thiago Macieira thiago at kde.org
Tue May 4 08:58:33 CEST 2010


Em Terça-feira 4. Maio 2010, às 07.47.55, Li-Chung Chang escreveu:
> 1. How do I reduce the time of
> "QFutureWatcher::cancel()+QFutureWatcher::waitForFinished()" ?

Make less work in each step of the mapping. I.e., make each mapping call 
return quicker.

> 2. If I don't want to cancel the the asynchronous computation, I just want
> to append new images for displaying. QConcurrent can support changing
> mapping sequence dynamically during asynchronous computation is running?

No.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100504/75b15bcd/attachment.bin 


More information about the Qt-interest-old mailing list