Learn Concurrency with C++ : Proven tools and patterns for designing high performance multi-threaded programs

Learn Concurrency with C++ : Proven tools and patterns for designing high performance multi-threaded programs

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版
  • 言語 ENG
  • 商品コード 9781837020195
  • DDC分類 005.35

Full Description

Design fast and reliable multithreaded C++ applications using modern concurrency features and proven patterns.

Key Features

Design multithreaded C++ systems with safe and efficient concurrency
Apply synchronization techniques using real-world concurrency patterns
Use coroutines and modern C++ standards to streamline concurrent code

Book DescriptionModern C++ offers powerful features for concurrency but using them effectively requires more than just syntax knowledge. This book takes you on a structured journey through multithreaded application development, starting with parallel execution using threads and asynchronous operations. You'll then explore synchronization techniques such as mutexes, locks, and atomics, while learning how to manage shared data safely and avoid common concurrency pitfalls.

You'll then move on to practical patterns such as thread pools and active objects, before scaling to non-locking techniques and hazard pointers. The final chapters focus on newer C++ additions, including coroutines and the senders and receivers framework, and show how they simplify asynchronous programming and enable new designs.

This book is ideal for engineers aiming to write safer and more performant software in modern C++. By the end, you'll confidently design concurrent applications using the best tools C++ offers, today and tomorrow. What you will learn

Launch and manage threads using std::thread and std::async
Use parallel algorithms with execution policies in C++20
Apply synchronization with mutexes, locks, and atomics
Understand the C++ memory model and memory ordering rules
Implement condition variables, latches, and barriers
Design thread-safe queues and concurrent data flows
Build lock-free data structures using advanced techniques
Use C++20 coroutines and explore C++26 senders/receivers framework for async code

Who this book is forC++ developers and engineers with intermediate or advanced experience who want to confidently apply concurrency in real-world projects. This book is ideal for professionals facing multithreaded challenges or exploring coroutines, synchronization, and performance tuning in modern C++.

Contents

Table of Contents

Utilising parallel execution for algorithms and operations
Handling multiple threads with futures and promises
Parallelization risks and basic mechanisms for synchronisation
Advanced synchronization and notification mechanisms
Concurrent design and basic useful patterns
Managing concurrent data flows
Future of C++
Non-locking design principles and tools
Non-locking types and examples
An alternative approach to concurrency
Implementations that benefit from coroutine introduction

最近チェックした商品