Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Linux Kernel Threads Explained : LDD with Raspberry Pi #18
Play lesson

Linux Driver Development with Raspberry Pi - Linux Kernel Threads Explained : LDD with Raspberry Pi #18

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 deep into Linux Kernel Threads (kthreads) and learn how to create and manage threads inside the Linux kernel. 🔹 What kernel threads are 🔹 How to create a thread using kthread_run() 🔹 Handling errors using IS_ERR() and PTR_ERR() 🔹 Writing the thread loop correctly 🔹 Using ssleep() inside the kernel 🔹 How to properly stop a thread with kthread_stop() 🔹 Understanding how each thread maintains its own stack and execution context We also build and load a kernel module, monitor output using dmesg, and observe how multiple threads run independently — even when using the same thread function. This is an essential topic for: * Linux Device Driver developers * Embedded Linux engineers * Kernel programming beginners * Anyone preparing for Linux kernel interviews Github :- https://github.com/madhawapolkotuwa/linux_driver_development_with_raspberrypi ☕Buy me a Coffee : https://buymeacoffee.com/madhawapolb #linuxkernel #threads #linux

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