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.
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.
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
- garbage collectionGarbage collection is an automated process that identifies and reclaims or removes resources, such as memory or data, that are no longer reachable or needed.
Related concepts
- lock-freecontrasts with · 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.
- spsc bounded queueincludes · An SPSC bounded queue is a fixed-capacity FIFO data structure with exactly one producer and one consumer.
- progress conditionkind of · A progress condition is a guarantee describing how concurrent operations advance despite interference, blocking, or scheduling choices.
- atomicityuses · Atomicity is the property that an operation or group of operations takes effect as one indivisible whole, so observers cannot see partial effects.
- memory barrieruses · A memory barrier is an operation or instruction that constrains the ordering or visibility of memory operations across execution contexts.
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.

