~/talk

Introduction to Lock/Wait Free Algorithms - Defining and Understanding the Terms

Talkat ACCU 2024 · 2024-04-17..04-20· [concurrency, c-and-cpp]
links:none on file
slides:none on file

Defines compare-and-swap as the common atomic primitive and gives a concrete claim: lock‑free means for every subset of threads at least one thread can make progress, while wait‑free means every scheduled thread completes in a bounded number of steps (the bound may include the number of threads). Shows why a reader-writer lock is not lock‑free, why wait‑free is costly and complex, and when each guarantee (e.g. self‑driving latency) actually matters.

AI-written summary · about

  1. 0:00Lock/wait-free intro
  2. 1:56Why lock-free matters
  3. 4:01Sync primitives limits
  4. 6:33Lock-free defined
  5. 8:42Wait-free defined
  6. 13:03Need wait-free?
  7. 15:31CAS in lock-free code
  8. 17:37Work transfer in wait-free
~/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.