Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Kernel Synchronization Techniques: Spinlock | LDD with Raspberry Pi #23
Play lesson

Linux Driver Development with Raspberry Pi - Kernel Synchronization Techniques: Spinlock | LDD with Raspberry Pi #23

4.0 (3)
31 learners

What you'll learn

This course includes

  • 8.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this video, we dive into spinlocks, one of the most important synchronization mechanisms in the Linux kernel. especially when working with interrupt context (ISR). You’ll learn why mutexes cannot be used inside an ISR and how spinlocks provide a safe way to protect shared data between process context and interrupt handlers. Using a practical GPIO interrupt + character driver example, we demonstrate: * How race conditions occur * Why spinlocks are required * And how to correctly use spin_lock() and spin_lock_irqsave() Github :- https://github.com/madhawapolkotuwa/linux_driver_development_with_raspberrypi/tree/main Let's Connect ====================== Buy me a Coffee : ☕https://buymeacoffee.com/madhawapolb Patreon : https://patreon.com/MadhawaPolkotuwa #kernel #linuxdevicedriver #programming #linuxprogramming

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere