The vocabulary of the job, one term at a time — what it means, and when you would say it.
Concurrency · intermediate
A lock that lets only one thread at a time run a protected section of code.
Meaning
Short for Mutual exclusion
A lock that lets only one thread at a time run a protected section of code.
A mutex turns a data race into a queue: whoever holds the lock proceeds, everyone else waits. The discipline that matters is scope — hold it for the shortest possible section, and never perform I/O while holding it, because every waiter inherits that latency. The name is short for mutual exclusion.
Two request handlers increment the same counter; without a mutex the two read-modify-writes interleave and one increment is lost.
No published skills are linked yet.
Work through the glossary one card at a time, in a different order every run.
Open the discover feed