liveBook · Manning

Wait-free progress condition

Wait-free is a progress guarantee under which every operation completes in a bounded number of steps, regardless of other threads' activity.

How 2 Manning books explain it

Latency

A wait-free data structure is a concurrent data structure whose every operation completes in a finite number of steps regardless of other threads' operations.

How it is used
Uses wait-free synchronization for shared, latency-sensitive components when traditional locking is too costly.
How deep it goes
Defines progress variants and develops a bounded queue implementation, while identifying linked-list insertion and reclamation difficulties.
Examples
Uses a bounded single-producer, single-consumer queue and concurrent linked-list operations as concrete cases.
What you can do after
Build a bounded single-producer, single-consumer queue using atomic indexes and memory ordering.

Read how Latency explains wait-free progress condition →

C++ Concurrency in Action, Second Edition

Wait-free describes a progress guarantee in which every thread completes its operation in a bounded number of steps, regardless of other threads’ activity.

How it is used
Classifies concurrent data structures by whether each thread is guaranteed to complete an operation despite other threads’ activity.
How deep it goes
Defines bounded per-thread progress, contrasts related guarantees, and identifies a lock-free example without showing a wait-free implementation.
Examples
Uses a C++ lock-free stack whose push() and pop() compare-and-exchange loops may retry indefinitely.
What you can do after
Evaluate whether a progress guarantee protects every thread or only guarantees that some thread completes.

Read how C++ Concurrency in Action, Second Edition explains wait-free progress condition →

What to know first

Related concepts

Questions about wait-free progress condition

What is wait-free progress condition?

Wait-free is a progress guarantee under which every operation completes in a bounded number of steps, regardless of other threads' activity.

Which Manning books explain wait-free progress condition?

Latency and C++ Concurrency in Action, Second Edition.

What should I know before learning wait-free progress condition?

Manning books that teach wait-free progress condition usually introduce garbage collection first.

What is the difference between wait-free progress condition and lock-free?

Wait-free is a progress guarantee under which every operation completes in a bounded number of steps, regardless of other threads' activity. Lock-free is a concurrency property in which operations proceed without mutual-exclusion locks and the system guarantees that some operation completes in a finite number of steps despite contention.

What kinds of wait-free progress condition are there?

Kinds of wait-free progress condition include spsc bounded queue.

What is wait-free progress condition a kind of?

Wait-free progress condition is a kind of progress condition. A progress condition is a guarantee describing how concurrent operations advance despite interference, blocking, or scheduling choices.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.