[Interest] how to run 21 threads concurrently

Sujan Dasmahapatra sujan.dasmahapatra at gmail.com
Thu Oct 4 15:44:07 CEST 2012


I want the job to be faster. if 8 cpus are executing 8 threads at a time
then my processing will be fater right. I want my 8 cpus be always
processing one thread each cpu simultaneously so that my process runs
faster. Am i able to make you understand  what i want to achieve. How the
execution can be boosted with QThreadPool.

On Thu, Oct 4, 2012 at 4:38 PM, Thiago Macieira
<thiago.macieira at intel.com>wrote:

> 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
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>


-- 
Regards
Sujan Dasmahapatra
skype: sujan.dasmahapatra
yahoo msn : dasmahapatra.aerodynamics at yahoo.co.in
Mobile no : +966-530184511
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20121004/2accaeab/attachment.html>


More information about the Interest mailing list