All Questions
Dealing With Contention hard

In non-blocking synchronization, what is the difference between 'Lock-Free' and 'Wait-Free'?

  1. A Lock-free uses locks.
  2. B Lock-Free guarantees system-wide progress (someone makes progress). Wait-Free guarantees per-thread progress (every thread makes progress in finite steps, strictly stronger).
  3. C Wait-free is slower.
  4. D They are synonymous.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions