Chapter 3. Dividing C++ Programs into Multiple Tasks

 

“Hence, whatever parallel processes may be going on at a lower (neural) level, at the symbolic level the human mind is fundamentally a serial machine, accomplishing its work through temporal sequences of processes, each typically requiring hundreds of milliseconds for execution.”

 
 --Herbert A Simon, The Machine As Mind

Concurrency in a C++ program is accomplished by factoring your program into either multiple processes or multiple threads. While there ...

Get Parallel and Distributed Programming Using C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.