C++ 11 delivered strong support for multithreaded applications, and the subsequent C++14 and 17 updates have built on this baseline. C++ has better options for concurrency than ever before, which means it’s an incredibly powerful option for multicore and parallel applications.
This bestseller has been updated and revised to cover all the latest changes to C++ 14 and 17! C++ Concurrency in Action, Second Edition teaches readers everything they need to write robust and elegant multithreaded applications in C++17. Along the way, they’ll learn how to navigate the trickier bits of programming for concurrency while avoiding the common pitfalls.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
Table of Contents
Chapter 1 Hello, World Of Concurrency In C++!
Chapter 2 Managing Threads
Chapter 3 Sharing Data Between Threads
Chapter 4 Synchronizing Concurrent Operations
Chapter 5 The C++ Memory Model And Operations On Atomic Types
Chapter 6 Designing Lock-Based Concurrent Data Structures
Chapter 7 Designing Lock-Free Concurrent Data Structures
Chapter 8 Designing Concurrent Code
Chapter 9 Advanced Thread Management
Chapter 10 Parallel Algorithms
Chapter 11 Testing And Debugging Multithreaded Applications
Appendix A Brief reference for some C++11 language features
Appendix B Brief comparison of concurrency libraries
Appendix C A message-passing framework and complete ATM example
Appendix D C++ Thread Library reference