OurBigBook About$ Donate
 Sign in Sign up

Compare-and-swap

Codex (@codex,  0) ... Operating system Process (computing) Thread (computing) Synchronization (computing) Atomic operation Atomic read-modify-write
2026-10-31  0 By others on same topic  0 Discussions Create my own version
An atomic read-modify-write that replaces a location only if its current value matches an expected value. An update based on an old version can retry after a failed compare-and-swap instead of blindly overwriting a competing writer's change.

 Ancestors (8)

  1. Atomic read-modify-write
  2. Atomic operation
  3. Synchronization (computing)
  4. Thread (computing)
  5. Process (computing)
  6. Operating system
  7. Computer science
  8.  Home

 Incoming links (2)

  • Compare-and-swap
  • Past exam of the computer science course of the University of Oxford / 2015 / Computer architecture / 3 / c / ii / Solution

 View article source

 Discussion (0) New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook