Book description
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 you everything you need to write robust and elegant multithreaded applications in C++17.
About the Technology
You choose C++ when your applications need to run fast. Well-designed concurrency makes them go even faster. C++ 17 delivers strong support for the multithreaded, multiprocessor programming required for fast graphic processing, machine learning, and other performance-sensitive tasks. This exceptional book unpacks the features, patterns, and best practices of production-grade C++ concurrency.
About the Book
C++ Concurrency in Action, Second Edition is the definitive guide to writing elegant multithreaded applications in C++. Updated for C++ 17, it carefully addresses every aspect of concurrent development, from starting new threads to designing fully functional multithreaded algorithms and data structures. Concurrency master Anthony Williams presents examples and practical tasks in every chapter, including insights that will delight even the most experienced developer.
What's Inside
- Full coverage of new C++ 17 features
- Starting and managing threads
- Synchronizing concurrent operations
- Designing concurrent code
- Debugging multithreaded applications
About the Reader
Written for intermediate C and C++ developers. No prior experience with concurrency required.
About the Author
Anthony Williams has been an active member of the BSI C++ Panel since 2001 and is the developer of the just::thread Pro extensions to the C++ 11 thread library.
Quotes
This book should be on every C++ programmer’s desk. It’s clear, concise, and valuable.
- Rob Green, Bowling Green State University
A thorough presentation of C++ concurrency capabilities.
- Maurizio Tomasi, University of Milan
Highly recommended for programmers who want to further their knowledge of the latest C++ standard.
- Frédéric Flayol, 4Pro Web C++
The guide contains snippets for everyday use in your own projects and to help take your concurrency C++ skills from the Padawan to the Jedi level.
- Jura Shikin, IVI Technologies
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++!
- 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
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: C++ Concurrency in Action, Second Edition
- Author(s):
- Release date: February 2019
- Publisher(s): Manning Publications
- ISBN: 9781617294693
You might also like
book
C++ Concurrency in Action
C++ Concurrency in Action is a reference and guide to the new C++ 11 Standard for …
video
Complete Modern C++ (C++11/14/17)
In this course, you will explore C++ and get to grips with the modern features introduced …
book
A Tour of C++, 2nd Edition
In Bjarne Stroustrup, the creator of C++, describes what constitutes modern C++. This concise, self-contained guide …
book
Modern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards
Learn the C++ programming language in a structured, straightforward, and friendly manner. This book teaches the …