Chapter 17.  Concurrency

Table of Contents

17.1. QProcess and Process Control
17.1.1. Processes and Environment
17.1.2. Qonsole: Writing an Xterm in Qt
17.1.3. Qonsole with Keyboard Events
17.1.4. Exercises: QProcess and Process Control
17.2. QThread and QtConcurrent
17.2.1. Thread Safety and QObjects
17.2.2. Parallel Prime Number Calculators
17.2.3. Concurrent Map/Reduce Example
17.3. Exercises: QThread and QtConcurrent
17.4. Review Questions

[ fromfile: concurrency.xml id: concurrency ]

Abstract

QProcess and QThread provide two approaches to concurrency. This chapter discusses how to create and communicate with processes and threads and also techniques for monitoring and debugging them.