[Qt-interest] QThreads not running in parallel

Jothy jothybasu at gmail.com
Mon Oct 10 21:20:43 CEST 2011


Hi all,

I am running several (8) QThreads in the following sequence, but it doesn't
seem to run in parallel. Only 3/4 are executed at once.

thread1->start(Qt::HighestPriority);
thread1->wait();
.
.
.
.
.
.
.
thread8->start(Qt::HighestPriority);
thread8->wait();


What's the problem?

Any suggestion on how to overcome this problem?

Thanks

Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111010/6c601e7f/attachment.html 


More information about the Qt-interest-old mailing list