filmov
tv
Using Locks in Real-Time Audio Processing, Safely - Timur Doumler - ADC20

Показать описание
---
When writing audio software in C++, we are taught that we shouldn’t lock a mutex on the real-time thread. But what should we do instead if we have to synchronise data access in a real-time safe manner?
Some developers use try_lock, while others use spinlocks. In this talk, we will discuss the typical audio uses cases where these approaches tend to occur, the reasons why they are problematic, and show a better solution. We will implement a custom lock type with a progressive back-off strategy optimised for audio use cases which is adaptable to different environments and works on both Intel and ARM architectures.
---
Timur Doumler (Cradle)
Timur Doumler is a C++ developer specialising in audio and music technology, an active member of the ISO C++ committee, and Conference Chair of the Audio Developer Conference (ADC). He is passionate about building communities, clean code, good tools, and the evolution of C++.
---
Special thanks to the ADC20 Team:
Céline Dedaj
Timur Doumler
Derek Heimlich
Josh Hodge
Andrew Kirk
Bobby Lombardi
Tom Poole
Ralph Richbourg
Jim Roper
When writing audio software in C++, we are taught that we shouldn’t lock a mutex on the real-time thread. But what should we do instead if we have to synchronise data access in a real-time safe manner?
Some developers use try_lock, while others use spinlocks. In this talk, we will discuss the typical audio uses cases where these approaches tend to occur, the reasons why they are problematic, and show a better solution. We will implement a custom lock type with a progressive back-off strategy optimised for audio use cases which is adaptable to different environments and works on both Intel and ARM architectures.
---
Timur Doumler (Cradle)
Timur Doumler is a C++ developer specialising in audio and music technology, an active member of the ISO C++ committee, and Conference Chair of the Audio Developer Conference (ADC). He is passionate about building communities, clean code, good tools, and the evolution of C++.
---
Special thanks to the ADC20 Team:
Céline Dedaj
Timur Doumler
Derek Heimlich
Josh Hodge
Andrew Kirk
Bobby Lombardi
Tom Poole
Ralph Richbourg
Jim Roper
Using Locks in Real-Time Audio Processing, Safely - Timur Doumler - ADC20
Timur Doumler - Using Locks in Real Time Audio Processing, Safely
Thread synchronisation in real-time audio processing with RCU (Read-Copy-Update) - Timur Doumler ADC
C++ Standard Library for Real-time Audio - Timur Doumler - ADC21
CppCon 2015: Timur Doumler “C++ in the Audio Industry”
I animated Springtrap again-
Matthias Killat - Lock-free programming for real-time systems - Meeting C++ 2021
A Lock-Free Atomic Shared Pointer in Modern Cpp - Timur Doumler - CppCon 2022
Passenger found dead after crawling into plane engine in Utah
springtrap ripping off his face
Doppelgänger Horror ⚠️
Purple Guy
Fabian Renn-Giles & Dave Rowland - Real-time 101 - part I: Investigating the real-time problem s...
Inside-out Freddy isn't real, he can't hurt you (Five Nights at Freddy's)
Project Blue Lock is Real | #shorts #anime #bluelock
Springlock training in real life test | Spring lock failure #shorts Real life springlock #springlock
Dave Rowland & Fabian Renn-Giles - Real-time 101 - Part II: The real-time audio developer’s too...
My hotel mirror was TWO SIDED 😱
Henry fixes William’s Neck // An Undeniably Canon FNAF Fanart
Springlock failure (realistic audio) ⚠️ gore and brutality Warning! Base video credit: T4ctic4l hype...
Transforming Toy Car 2021 Cool Toys 1377
Google Pixel Emergency Call Sound
How to change notifications on iPhone Lock Screen
Springlock Fredbear (v1 beta) - Workshop Animations FNAF AR
Комментарии