~/talk

Live Lock-Free or Deadlock (Practical Lock-free Programming)

Talkat CppCon 2015 · 2015-09-21..09-25· [concurrency]
links:none on file
slides:none on file

Covers practical lock-free techniques in C++: shows why volatile and naive reorder assumptions fail, demonstrates that compilers can reorder initialization, and that caches can make stores visible out of order so double-checked locking needs atomic acquire/load and release/store semantics. Maps pseudocode to C++11 atomics, explains acquire/release memory barriers, and contrasts full locks with simplified lock-free list and queue approaches while reporting measured tradeoffs between correctness and performance.

AI-written summary · about

  1. 0:00Introduction to lock-free
  2. 7:08Double check locking basics
  3. 12:12Atomic operations and data races
  4. 22:36Memory barriers and caches
  5. 33:16Lock-free programming challenges
  6. 38:31Break and real examples
~/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.