17.2.  QThread and QtConcurrent

[ fromfile: threads.xml id: threads ]

[Important] Why Use Threads?

Sometimes, complexity added to software from using threads can outweigh the performance benefits. If a program is bound by the I/O, chances are that distributing the CPU's work across multiple threads will not show noticeable improvement in the program's overall performance. If, however, there is a significant amount of advance calculation that can be done, and you have idle cores, threads can improve performance.