Summary
It is impossible to say that this was all there was to talk about multithreading and parallel programming, but it is fair to say that we covered some of the most important topics that can get up on your feet to write multithreaded and highly-efficient computer vision applications (or any other application). You learned how to subclass QThread
to create new thread classes that perform a specific task or use the moveToThread
function to move an object responsible for a complex and time-taking computation into another thread. You also learned about some of the most important low-level multithreading primitives, such as mutexes, semaphores, and so on. By now, you should be fully aware of the issues that may arise because of implementing and using multiple threads in our applications, and also the solution to those issues. If you think you still need to practice this to make sure you are familiar with all the presented concepts, then you've definitely paid good attention to all the subjects...