Compare-and-swap
Compare-and-swap
Common
Rarity: Common
The most frequent rarity: most Wikipedia articles become Commons.
Rarity follows how well known the article is: its views on the French and English Wikipedia over a year, and the number of languages it exists in.
At a glance
- Class
- Work
- Domain
- Arts and letters
- Knowledge cost
- 3
- In collections
- Nobody has pulled it yet.
What Wikipedia says
In computer science, compare-and-swap (CAS) is an atomic instruction used in multithreading to achieve synchronization. It compares the contents of a memory location with a given (the previous) value and, only if they are the same, modifies the contents of that memory location to a new given value.
Excerpt from the Wikipedia article “Compare-and-swap”, under the CC BY-SA 4.0 license. Read the article on Wikipedia
Open free boosters and add Compare-and-swap to your collection.
Play for free


