C++ Concurrency in Action
Authors: Anthony Williams
ISBN-10: 1617294691
ISBN-13: 9781617294693
Edition 版本: 2
Released: 2019-02-06
Print Length 页数: 575 pages
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.
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.
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
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
C++ Concurrency in Action,2nd Edition 9781617294693. zip[/erphpdown]