[Qt-interest] Regarding QTConcurrent

Arnold Krille arnold at arnoldarts.de
Wed Apr 22 11:02:35 CEST 2009


On Wednesday 22 April 2009 10:31:48 Kosta wrote:
> yesterday i was reading about Threads support in QT 4.5. There is some new
> feature called QTConcurrent
> http://doc.trolltech.com/4.5/threads.html#qtconcurrent .Does anyone uses
> it, know what it is about ? I understood there is a way to call the
> functions with QTConcurrent::run, and every function will be executed in
> separate thread. Synhronization in hight level or something, without the
> need of using mutexes an etc. What do you thhink about it ?

I looked at it a while ago (didn't QtCurrent already start in Qt4.4?) and 
found it not usable for _my_ use-case.
QtConcurrent is great for running a heavy-load procedure/function in an own 
thread so it doesn't block the gui. But here I have several worker-threads 
interacting with each other and the main-thread and QtCurrent isn't the right 
thing to solve my problems.

But depending on what you are doing and your needs for threads, it might 
actually be the right thing for you!

Have fun,

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090422/a84024d7/attachment.bin 


More information about the Qt-interest-old mailing list