My CPU no is 8...Can u give me some code snippet dear Philippe and Thiago. Thanks Sujan
On Thu, Sep 27, 2012 at 10:30 PM, Thiago Macieira <thiago.macie...@intel.com > wrote: > 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 > way > > 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 > number > 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@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest > > -- Regards Sujan Dasmahapatra skype: sujan.dasmahapatra yahoo msn : dasmahapatra.aerodynam...@yahoo.co.in Mobile no : +966-530184511
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest