ConceptSystems & CS
Compare-and-swap
An atomic hardware instruction that compares the contents of a memory location with a given value and, only if they are the same, modifies the memory location to a new given value.
Know first
Named as a prerequisite by the lectures that define this. The number is how many say so. A grey one has no page yet.
Atomic operations2Pointer2Atomic instructions1Atomicity1Concurrency control1Shared memory concurrency1
Opens up
Concepts that name this one as a prerequisite.
Lecturers
5Each in their own terms, from the easiest level.
Martin Kleppmann
An atomic operation that sets a variable to a new value if and only if its current value equals a specified old value.Andy Pavlo
An atomic instruction that compares a memory location's value to a given value and updates it to a new value only if they match.Charles Leiserson
An atomic operation that compares the contents of a memory location to a given value and, only if they are the same, modifies the memory location to a given new value.Robert Morris
An atomic instruction used by the primary to check a version number and set a lock bit simultaneously.
Lectures that assume it
1Connections
14The lectures that define it or assume it, and the concepts next to it.