# downdemo/Cpp-Concurrency-in-Action-2ed

C++11/14/17/20 Concurrency Demystified: From Core Principles to Thread-Safe Code

Repository: https://github.com/downdemo/Cpp-Concurrency-in-Action-2ed
Canonical: https://ross.abutalabs.com/products/cpp-concurrency-in-action-2ed
Homepage: https://downdemo.github.io/Cpp-Concurrency-in-Action-2ed/
Language: C++
License: Apache-2.0
License Family: permissive
Topics: operating-systems, multithreading
Last push: 2024-12-25T15:52:00+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2532, "days_push": 616, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2190, forks 344 (observed 2026-08-28T04:06:24.078142+00:00)

## What it is
A set of study notes and code examples accompanying the book 'C++ Concurrency in Action 2nd Edition', covering the C++11/14/17/20 thread support library and concurrent programming design. It includes notes on thread management, mutexes, condition variables, atomics, lock-free data structures, parallel algorithms, and C++20 additions like jthread, semaphore, barrier, and latch.

## Use cases
- learn c++ multithreading from scratch
- understand c++ memory model and atomics
- study thread-safe data structure design in c++
- learn c++20 concurrency features like jthread and latch
- prepare for concurrent programming interviews
- review operating system concepts like processes, threads, and deadlocks
- find example code for std::thread, mutex, and condition_variable

## When to choose
- you want structured notes with runnable C++ examples for the C++ thread support library
- you are reading C++ Concurrency in Action 2ed and want supplementary code and summaries
- you need coverage of both classic C++11 concurrency and newer C++17/20 features
- you want to pair concurrency learning with operating system fundamentals

## When to avoid
- you need a production-ready concurrency library rather than educational material
- you want exhaustive, authoritative coverage instead of personal notes
- you work in a language other than C++
- you need tutorials on async I/O frameworks or third-party concurrency libraries like TBB in depth

## Facets
- artifact type: learning-resource
- maturity: active
- function: concurrency, developer-tools, documentation
- domain: operating-systems, programming-languages, tutorials, developer-tools
- platform: cpp, cross-platform
- tags: cpp, multithreading, concurrency, thread-safe-code, study-notes, cpp20, cpp11, operating-systems

## Member repositories
- downdemo/Cpp-Concurrency-in-Action-2ed (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:24.078142+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:47:41.060075+00:00, confidence not recorded.
  - readme: https://github.com/downdemo/Cpp-Concurrency-in-Action-2ed (fetched 2026-08-28T04:06:24.078142+00:00, sha b61e14c90e49)
  - homepage: https://downdemo.github.io/Cpp-Concurrency-in-Action-2ed/ (fetched 2026-08-29T10:27:53.283369+00:00, sha 4f3221ecf1e9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
