CUET PG 2026 — operating system os PYQ
CUET PG | operating system os | 2026Hardware Instruction Support
List-I (Hardware Atomicity)
A. TestAndSet
B. CompareAndSwap
C. Memory Barrier
D. Atomic Variable
List-II (Execution Mechanism)
Reads a variable, sets it to true, and returns the old value atomically
Swaps value only if current matches an expected target value
Forces the system to complete pending memory actions before moving on
High-speed hardware wrapper for single-variable math counters
