11 Concurrency Hazards

THROUGHOUT THE COURSE of this book, we’ve seen many platform services that enable concurrent programming on Windows. But as we also saw in Chapter 2, Synchronization and Time, the addition of concurrency to a program comes with many additional concerns. Concurrency is a double-edged sword: it can be used to do great things—such as creating software that scales as newer hardware with more processors is adopted, paving the way for more sophisticated software capabilities, or ensuring responsiveness and compelling user experiences in GUI programs—but if done incorrectly, it can lead to significant trouble.

Now that we’ve finished reviewing the fundamental mechanisms used to build concurrent software, we’ll turn to some ...

Get Concurrent Programming on Windows 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.