~/talk

Concurrency in C++20 and Beyond

Talkat CppCon 2019 · 2019-09-15..09-20· [concurrency]
slides:none on file

C++20 adds cooperative cancellation via stop_token/stop_source with condition_variable_any and stop_callback integration, plus a new jthread auto-request-stop that joins on destruction; it also adds latches, reusable barriers with completion functions, and counting/binary semaphores. Atomics gain wait/notify, atomic<shared_ptr>/atomic<weak_ptr> and atomic_ref for non-trivial layouts. Coroutines land without a standard library runtime, while continuation futures, when_any/when_all, executors, concurrent queues/hash maps, and safe reclamation (RCU and hazard pointers) remain concrete proposals under active work.

AI-written summary · about

  1. 0:00Start
  2. 0:53Concurrency Features
  3. 2:09Cooperative Cancellation
  4. 3:45Stop Source
  5. 8:14Stop Callback
  6. 12:44New Synchronization Facilities
  7. 15:29Testing Multi-Threaded Code
  8. 16:46Barriers
  9. 21:09Semaphores
  10. 23:07The Little Book of Semaphores
  11. 26:05Atomic Smart Pointers
  12. 31:18Smart Pointers
  13. 40:20Benefit from Concurrency
  14. 41:39Future Standards
  15. 49:29Thread Pool
  16. 49:45Basic Requirements
  17. 51:45Proposals for Concurrent Data Structures
  18. 52:36Concurrent Hash Maps
  19. 53:43Safe Memory Reclamation
  20. 54:16Safe Memory Reclamation Schemes
  21. 1:00:36Proposals for a Concurrent Priority Queue
  22. 1:02:19Performance Penalty
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.