
- 592 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
C++ Concurrency in Action
About this book
"This book should be on every C++ programmer's desk. It's clear, concise, and valuable." - Rob Green, Bowling Green State University 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. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. 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. Table of Contents
- Hello, world of concurrency in C++!
- Managing threads
- Sharing data between threads
- Synchronizing concurrent operations
- The C++ memory model and operations on atomic types
- Designing lock-based concurrent data structures
- Designing lock-free concurrent data structures
- Designing concurrent code
- Advanced thread management
- Parallel algorithms
- Testing and debugging multithreaded applications
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
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