Thread synchronization tools
Multithreaded programming usually requires inter-thread conflicts and issues that are simply produced because of parallelism and the fact that the underlying operating system is responsible for taking care of when and how long exactly a thread will run. A powerful framework that offers multithreaded capabilities, such as the Qt framework, must also provide the means to deal with such issues, and fortunately, as we'll learn in this chapter, it does.
In this section, we will learn about possible issues that can arise from multithreading programming and the existing classes in Qt that can be used to take care of those issues. These are called thread synchronization tools in general. Thread synchronization refers to handling and programming threads in such a way that they are aware of the status of other threads using simple and easy-to-use means, and, at the same time, they can continue to fulfill their own specific tasks.
Mutexes
If this and the upcoming sections...