~/talk

C++ Concurrency TS 2 Use Cases and Future Direction

Talkat CppCon 2022 · 2022-09-11..09-16· [frontend-architecture]
linkedin:mcwong2
links:none on file
links:none on file
slides:none on file

C++ Concurrency TS 2 already standardizes hazard pointers and RCU with minimal subsets slated for C++26, and additional facilities like snapshot_ptr, asymmetric fences, concurrent counters and queues are proposed. Independent reference implementations and heavy production use in Folly and the Linux kernel validate the designs and show concrete performance wins when replacing slow shared_mutex/shared_ptr patterns. The talk demonstrates how phased‑state RCU builds a fast‑readers reader‑writer lock and explains exact reclamation tradeoffs and synchronization costs.

AI-written summary · about

  1. 0:00Start
  2. 7:43Synchronization via Procrastination
  3. 13:34Traversal Speed
  4. 14:10Reference Counting
  5. 14:41Hazard Pointer
  6. 16:13Non-Blocking Traversal
  7. 18:15Asymmetric Fences
  8. 21:53How Does Hazard Pointer Work
  9. 23:56Ts2 Interface for Header Pointer
  10. 26:04Hazard Pointer Object
  11. 26:31Move Operator and Move Constructor
  12. 32:05Hand over Hand Traversal
  13. 36:36Iteration
  14. 39:35Iterator
  15. 40:23Operational Iterator
  16. 43:32Introduction To Rsu Semantics
  17. 49:06Maintenance Operation
  18. 53:12Synchronous Reclamation
~/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.