CAS Loops: The Heart of Atomic Programming - Compare-and-Swap: Foundation of Lock-Free Concurrency | OneNoughtOne