Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Wait-Free Thread Synchronisation With the SeqLock

ADC - Audio Developer Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore advanced thread synchronization techniques for real-time audio applications in this 40-minute conference talk from ADC 2024. Learn how to implement wait-free data sharing between real-time audio threads and other threads (such as GUI threads) using the SeqLock algorithm as an alternative to traditional double buffering approaches. Discover the fundamental concepts behind SeqLock, examine its algorithm components, and study a working reference implementation that addresses the challenges of reconciling the algorithm with the C++ memory model. Gain insights into proper use of memory fences, memory ordering, and atomic versus non-atomic memory accesses to create efficient lock-free code in Standard C++. Compare the tradeoffs between SeqLock and other synchronization approaches, understand when to apply each technique, and explore a proposal for adding SeqLock to the C++ Standard. Master the complexities of managing object lifetime and synchronizing reads and writes across threads while maintaining real-time safety in audio processing applications.

Syllabus

Wait-Free Thread Synchronisation With the SeqLock - Timur Doumler - ADC 2024

Taught by

ADC - Audio Developer Conference

Reviews

Start your review of Wait-Free Thread Synchronisation With the SeqLock

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.