← Atlas
🔒
Synchronization & the Memory Model
Deep stem · ~35 min
When goroutines share memory, you need a happens-before edge — a mutex, a channel, or an atomic — or the race detector will (rightly) scream.
L1 · Remember— recall · step 1 of 6
Recall the synchronization vocabulary
Ten words that turn 'just add a mutex' into a precise model of when shared memory is safe.