“The Continuing Future of C++ Concurrency"
summary
C++14 adds a shared_timed_mutex with shared_lock for many-read few-write maps and timed try locks (milliseconds) for responsiveness, while C++17 adds non‑timed shared_mutex and class template argument deduction so lock guards infer mutex types. The Concurrency TS v1 supplies continuations on std::experimental::future, shared_future for multiple continuations, when_any/when_all that return an index and tuple/vector, latches, barriers and atomic_shared_ptr/weak_ptr. Scheduling of continuations is unspecified; executors and schedulers are proposed to fix placement and provide thread pools.
AI-written summary · about
chapters (8)
- 0:00Introduction to C++ concurrency
- 8:56C++17 concurrency features
- 14:30Concurrency TS version one
- 39:00Latches and barriers
- 43:00Executors and schedulers
- 51:14Hazard pointers
- 54:21Parallelism TS
- 1:00:00Q&A
related talks
01h 24mConcurrency in C++20 and Beyond
01h 04mConcurrency in C++20 and Beyond
29mConcurrency TS Editor's Report
01h 00mConcurrency in C++20: A Deep Dive
01h 08mBetter Code: Concurrency
01h 32mConcurrency, Parallelism and Coroutines
01h 00mConcurrency Improvements in C++20: A Deep Dive
47mConcurrent Programming in C++
