Concurrency with Modern C++

- 50%

Original price was: $33.00.Current price is: $16.50.

Add to wishlistAdded to wishlistRemoved from wishlist 0

Product Specs:

  • File Type: PDF
  • File Size: 9.4 MB
  • Book Language: English
  • Total Page Count: 586
  • Instant Download

Concurrency in C++ is not just a matter of starting more threads. The harder questions concern shared state, memory ordering, synchronization, and the subtle ways a program can go wrong. Rainer Grimm’s Concurrency with Modern C++ works through those questions, connecting the language’s underlying rules with practical code and case studies.

Build a clear picture of the C++ memory model

The book starts with the foundations of concurrency in C++11 and C++14, including memory locations, atomics, and the ordering constraints that govern communication between threads. This grounding helps make later topics—such as acquire-release semantics, sequential consistency, and fences—easier to reason about.

From threads to parallel algorithms

Grimm examines thread management, mutexes and locks, condition variables, tasks, promises, and futures. The discussion then turns to parallel algorithms in the Standard Template Library, where execution policies and vectorized or parallel work raise their own questions about performance and correctness.

Learn through practical cases and patterns

Examples and case studies put concepts to work, including vector summation, thread-safe singleton initialization, and synchronization. Later chapters consider concurrent architecture, best practices, and the design of lock-based and lock-free data structures. The emphasis on pitfalls—including data races, deadlocks, and lifetime issues—keeps the focus on the careful reasoning reliable concurrent code demands.

Modern C++ features in context

The contents reach into C++20 and C++23 topics, including jthreads, cooperative interruption, atomic smart pointers, coroutines, semaphores, latches, barriers, and generator functions. Readers also encounter parallel programming patterns and the C++ time library.

For C++ programmers ready to go deeper

This book is aimed at developers who already work with C++ and want to understand concurrency beyond the surface-level mechanics. It offers a substantial route through the language’s concurrency tools, their underlying rules, and the design choices that help avoid common mistakes.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
Write a review

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Added to wishlistRemoved from wishlist 0
- 50%

The C++ Standard Library

Sold by Rainer Grimm
Original price was: $5.00.Current price is: $2.50.
Concurrency with Modern C++
Concurrency with Modern C++

Original price was: $33.00.Current price is: $16.50.

Create. Design. Inspire.

Design Something Amazing

Looking for creative resources? Discover Procreate brushes, Photoshop resources, and design assets at BrushesPack.com.

✦ Procreate Brushes Ps Photoshop Resources ◇ Design Assets
✎
BrushesPack Creative Resources
Digital Delights
Logo
Shopping cart