~/talk

Lock-Free Programming (or, Juggling Razor Blades), Part II

Talkat CppCon 2014 · on Monday, 2014-09-08· at 15:15· Pascal· [c-and-cpp, concurrency]
slides:none on file

Shows how to implement a lock‑free singly linked list using C++ atomics and smart pointers with concrete code, not high‑level handwaving: uses compare_exchange_weak loops, outlines the atomic shared_ptr idea and a translation to today's non‑member atomic_load/compare_exchange functions, explains ABA, hazard‑pointer and GC alternatives, and proves linearizability. Includes measured throughput and scaling effects (multi‑core tests showing multi× improvements after three concrete optimizations) and provides links to slides and source for copy‑pasteable examples.

AI-written summary · about

  1. 0:00Start
  2. 36:44Translation Guide
  3. 51:52Example 1 Measurements
  4. 59:50Example 2 Measurements
~/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.