Appendix A. Optimizations That Aren't (in a Multithreaded World)

This appendix ties in closely with the results shown in Items 13 to 16, and Appendix B.

Introduction

Are you working on a multithreaded program today? Chances are you are, or work in a group in which others are. Multithreading is getting more popular because it can make our programs more responsive, more efficient, and more scalable on multiprocessor machines. But even if you only write single-threaded programs, keep reading. If you work in a company (or share libraries) with other projects that are multithreaded, you're probably using multithread-safe builds or versions of some shared libraries, and what I'm going to talk about probably affects you today.

Do you care about performance ...

Get More Exceptional C++ 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.