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.

Image
Image

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 O’Reilly online learning.

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