Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Praise for the first edition

Preface

Acknowledgments

About this book

About the author

About the cover illustration

Chapter 1. Hello, world of concurrency in C++!

1.1. What is concurrency?

1.1.1. Concurrency in computer systems

1.1.2. Approaches to concurrency

1.1.3. Concurrency vs. parallelism

1.2. Why use concurrency?

1.2.1. Using concurrency for separation of concerns

1.2.2. Using concurrency for performance: task and data parallelism

1.2.3. When not to use concurrency

1.3. Concurrency and multithreading in C++

1.3.1. History of multithreading in C++

1.3.2. Concurrency support in the C++11 standard

1.3.3. More support for concurrency and parallelism in C++14 and C++17

1.3.4. Efficiency in the C++ Thread Library

1.3.5. Platform-specific facilities

1.4. Getting started

1.4.1. Hello, Concurrent World

Summary

Chapter 2. Managing threads

2.1. Basic thread management

2.1.1. Launching a thread

2.5. Identifying threads