Threading Effects

Multiprocessing and multithreading are two closely related, but different, types of concurrent programming. Although both concepts exist in a larger context, we will limit our discussion to their impact on the creation of a monolithic software system, not on the interaction of multiple essentially independent software systems within an operating system environment.

Multiprocessing is an old concept. Multiprocessing allows multiple, largely independent processes to communicate with each other. Processes used to be the schedulable entities that existed in an operating system. Historically, multiprocessing was the only mechanism available to system designers who wanted to be able to perform multiple, pseudoconcurrent, asynchronous ...

Get Efficient C++ Performance Programming Techniques now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.