Locks Implementation (2023 Fall ECE 344 Section 3)

Jon Eyolfson · 53:41

This lecture builds a correct mutex from the ground up: hardware compare-and-swap gives you a spin lock, the spin lock is then used *internally* as a "guard" to make lock/unlock atomic so you can add a FIFO wait queue...

Read the full summary on tuber

Redirecting...