Learn AI, Data Science & Business — Earn Certificates That Get You Hired
The Fastest Way to Become a Backend Developer Online
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
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