Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

atomic read-modify-write

Reading a value, changing it and writing it back as one indivisible step, so no other thread's update can slip in between.

An atomic read-modify-write (fetch-and-add, exchange, compare-and-swap, fetch-and-or ...) reads a location, computes a new value and writes it with no intervening write by any other agent; all atomic RMWs on one location form a single total order.

Read the full section →