计算机书籍控

C++ Concurrency in Action

HIGHLIGHT C++ Concurrency in Action is the first book to market to show how to take advantage of the new C++ Standard and how to write robust multi-threaded applications in C++. DESCRIPTION With the new C++ Standard and Technical Report 2 (TR2), multi-threading is coming to C++ in a big way. TR2 will provide higher-level synchronization facilities that allow for a much greater level of abstraction, and make programming multi-threaded applications simpler and safer. As a guide and reference to the new concurrency features in the upcoming C++ Standard and TR2, this book is invaluable for existing programmers familiar with writing multi-threaded code in C++ using platform-specific APIs, or in other languages, as well as C++ programmers who have never written multithreaded code before. KEY POINTS * When and when not to use concurrency * Concurrency and multi-threading in C++ * Concurrency support in the New Standard * How to improve performance with concurrency * How to manage concurrency * Problems and solutions in sharing data * Synchronization and why we need it * Memory model details

目录

  • 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
  • Testing and debugging multithreaded applications

书籍下载

免费下载

正版书籍

C++ Concurrency in Action