18. Multithreading

Two significant trends of the past decade have had an enormous effect on the field of software development. First, the continued decrease in the cost of performing computations is no longer driven by increases in clock speed and transistor density, as illustrated by Figure 18.1. Rather, the cost of computation is now falling because it is economical to make hardware that has multiple CPUs.


Figure 18.1. Clock Speeds over Time (Graph compiled by Herb Sutter. Used with permission. Original at www.gotw.ca.)

Second, computations now ...

Get Essential C# 5.0 now with the O’Reilly learning platform.

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