[Interest] how to run 21 threads concurrently
André Somers
andre at familiesomers.nl
Thu Oct 4 15:46:57 CEST 2012
Op 4-10-2012 15:44, Sujan Dasmahapatra schreef:
> 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.
If you think that running 21 threads on an 8 core system will run make
your task go faster, then Thiago is right: you don't understand your
problem.
As for how to use QThreadPool: did you try consulting the documentation?
Based on the speed of your reply, I'd say you did not.
André
More information about the Interest
mailing list