CAS (compare and swap) instructions

GPTKB entity

Statements (35)
Predicate Object
gptkbp:instanceOf CPU instruction
gptkbp:alternativeTo LL/SC (load-linked/store-conditional)
gptkbp:category concurrency control
synchronization primitives
atomic instructions
gptkbp:enables non-blocking synchronization
atomic compare-and-set
atomic increment
atomic pointer update
atomic reference update
gptkbp:firstAppearance gptkb:IBM_System/370
gptkbp:foundIn gptkb:x86_architecture
gptkb:ARM_architecture
gptkb:PowerPC_architecture
https://www.w3.org/2000/01/rdf-schema#label CAS (compare and swap) instructions
gptkbp:limitation ABA problem
gptkbp:usedFor atomic operations
reference counting
implementing concurrent hash tables
implementing concurrent linked lists
implementing concurrent queues
implementing concurrent stacks
implementing mutexes
implementing semaphores
implementing spinlocks
lock-free algorithms
gptkbp:usedIn gptkb:Java
gptkb:Go
gptkb:C++
gptkb:Rust
gptkb:.NET
C
concurrent programming
gptkbp:bfsParent gptkb:Motorola_68030_instruction_set
gptkbp:bfsLayer 7