[Interest] how to run 21 threads concurrently

Thiago Macieira thiago.macieira at intel.com
Thu Oct 4 15:38:25 CEST 2012


On quinta-feira, 4 de outubro de 2012 16.31.54, Sujan Dasmahapatra wrote:
> Thanks  andre for your reply. Can u give me some sample code of using
> QThreadPool. Can u refer my code snippet how i can implement the same
> function which is being called 21 times for 21 z values......How to run
> them parallely using QThreadPool. Some code snippet will be fine so that I
> get some idea. Thanks Sujan

Why do you want to run 21 threads simultaneously on an 8-core system?

There are a few reasons why that might be useful, but I want you to tell us 
what your reasons are. If you can't tell us that, we'll take it that you don't 
understand your problem completely.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20121004/492b4c15/attachment.sig>


More information about the Interest mailing list