[Interest] QtConcurrent programming need help
sujan.dasmahapatra at gmail.com
Fri Sep 28 08:48:47 CEST 2012
My CPU no is 8...Can u give me some code snippet dear Philippe and Thiago.
On Thu, Sep 27, 2012 at 10:30 PM, Thiago Macieira <thiago.macieira at intel.com
> On quinta-feira, 27 de setembro de 2012 21.32.36, Sujan Dasmahapatra wrote:
> > I am working on an existing application where threads are submitted
> > concurrently. he is submitting 8 threads together and then he is waiting
> > for all 8 threads to be finished to submit the next 8 threads. In this
> > after every 8 threads he is waiting and a lot of time is being taken for
> > waiting. Can you me some suggestions how can I skip this waiting after
> > submitting 8 threads to improve speed. Total number of cpu is 8 so he is
> > submitting 8 threads at a time.
> Submit all jobs all at once.
> QtConcurrent operates on the global QThreadPool, which defaults to the
> of CPUs on your system.
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
> Intel Sweden AB - Registration Number: 556189-6027
> Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
> Interest mailing list
> Interest at qt-project.org
yahoo msn : dasmahapatra.aerodynamics at yahoo.co.in
Mobile no : +966-530184511
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest