O'Reilly logo

Computer Vision with OpenCV 3 and Qt5 by Amin Ahmadi Tazehkandi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

High-level multithreading using QtConcurrent

Apart from what you learned in the previous section, the Qt framework also provides a high-level API for creating multithreaded programs without the need to deal with thread synchronization tools, such as mutexes, locks, and so on. The QtConcurrent namespace, or the Qt Concurrent module in Qt framework, provides easy-to-use functions that can be used to create multithreaded applications, or, in other words, concurrency, by processing through lists of data using the optimal number of threads for any platform. This will become crystal clear after we go through the functions in QtConcurrent and classes that are used in conjunction with it. After that, we will also deal with real-life examples to learn ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required