Chapter 3. Dividing C++ Programs into Multiple Tasks
In this Chapter
Concurrency in a C++ program is accomplished by factoring your program into either multiple processes or multiple threads. While there are variations on how the logic for a C++ program can be organized (e.g, within objects, functions, generic templates), the options for (with the exception of instruction level) parallelization is accounted for through the use of multiple processes and threads. This chapter focuses on the notion of a process and how C++ programs can be divided into multiple processes. |