O'Reilly logo

Parallel and Distributed Programming Using C++ by Tracey Hughes, Cameron Hughes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Dividing C++ Programs into Multiple Threads

 

“As our computer systems become more complicated, this kind of abstraction gives us hope of being able to continue to manage them.”

 
 --Andrew Koening and Barbara Moo, Ruminations on C++

The work of a sequential program can be divided between routines within a program. Each routine is assigned a specific task, and the tasks are executed one after another. The second task cannot start until the first task finishes, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required