Locks Implementation (2023 Fall ECE 344 Section 2)
Jon Eyolfson · 42:43
This lecture builds a real, working mutex from the ground up: starting with a hardware compare-and-swap instruction to make a correct-but-wasteful spin lock, then layering on yield, a wait queue for fairness, and fina...