YouTube24 Sept 2024
1h 15m

Stanford CS149 I 2023 I Lecture 13 - Fine-Grained Synchronization and Lock-Free Programming

Podcast cover

Stanford Online

In this podcast episode, we explore the intricacies of concurrency issues like deadlocks, livelocks, and starvation, using relatable real-world examples to clarify these concepts. It delves into cache coherence and the critical role of locks, particularly through atomic operations such as compare-and-swap (CAS), which are vital for maintaining data consistency in multi-processor systems. The conversation then shifts to improving lock implementations to minimize contention and progresses to the development of lock-free data structures that boost both concurrency and efficiency. Ultimately, the episode provides valuable insights for creating resilient concurrent systems capable of managing the complexities of increased thread interactions.

Outlines

Sign in to continue reading, translating and more.

Open full episode in Podwise