Back to Browse

Kernel Synchronization Techniques: Mutex | LDD with Raspberry Pi #22

159 views
Mar 25, 2026
20:39

In this video, we dive into one of the most important synchronization mechanisms in the Linux kernel The Mutex We start by understanding the problem of race conditions when multiple processes or threads access shared data simultaneously. Then, using a practical kernel module example, we demonstrate what happens without synchronization and how a mutex helps ensure safe and consistent data access. You’ll also see how mutex behaves in: * Kernel threads * User-space read/write operations GitHub :- https://github.com/madhawapolkotuwa/linux_driver_development_with_raspberrypi Free RTOS Tutorial: https://github.com/madhawapolkotuwa/Synchronization_Primitives_in_FreeRTOS Let's Connect ====================== Buy me a Coffee : ☕https://buymeacoffee.com/madhawapolb Patreon : https://patreon.com/MadhawaPolkotuwa 📺 Related Videos: * File Operations in Linux Device Drivers : https://youtu.be/zDhz6XhUZ9A * Kernel Threads in Linux : https://youtu.be/BBMvdqaV2F8 #linux #linuxdevicedriver #kernel

Download

1 formats

Video Formats

360pmp423.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Kernel Synchronization Techniques: Mutex | LDD with Raspberry Pi #22 | NatokHD