[Interest] how to run 21 threads concurrently

Thiago Macieira thiago.macieira at intel.com
Thu Oct 4 16:17:15 CEST 2012

On quinta-feira, 4 de outubro de 2012 17.07.44, Sujan Dasmahapatra wrote:
> I agree with you Thiago. QtConcurrent runs as many threads as are
> processor. I submitted 21 threads through a for loop. Then the first 8
> threads should be running intially right. When anyone thread is finished
> the does it take automatically 9th thread? and so on.


> I am currently doing
> exactly the same. But although I submitted 21 threads through
> QtConcurrent::run in a for loop, but I doubt if all threads are being run
> properly. Thats why some of the data are not being written onto the file.
> Let me know if I am able to make you  understand the situation.
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/d30e7360/attachment.sig>

More information about the Interest mailing list