In this chapter, we will focus on performance improvements that can be achieved with threads and concurrency. We will learn about different concurrency mechanisms, thread usage, communication between threads, and guidelines for good concurrent performance.
As this is a mid-level book, we won't present the basic thread usage but will rather concentrate on the performance aspects of multithreading and parallel processing.
This chapter will discuss the following topics:
- Concurrency, parallelism, and multithreading: Introducing the basic concepts and classic problems
- Threading support classes in Qt: Overview of the classes we can work with
- Threads, events, and QObjects: How the QObject and QThread fit together
- Higher-level Qt concurrency mechanisms: How not to worry about locking
- Multithreading and performance: How to speed...