What is Lock-free algorithm?

A property of an algorithm that some thread can always make progress even if others stall partway. Built with atomic instructions such as CAS.

Field: Multicore & Synchronization

Lock-free algorithm in the explanations

Questions that mention Lock-free algorithm (1)

  1. What property does a lock-free algorithm have?

Related terms

Interrupt ABA problem Acquire-release semantics Atomic instruction Barrier synchronization Bus snooping Compare-and-swap Condition variable Critical section Data race

Back to the glossary