00:00 Introduction & User-Level Support for Multithreading
00:14:28 Kernel-Level Support for Multithreading
00:25:01 User-level to Kernel-level thread mapping
00:35:57 Thread Libraries and Pthread
00:40:42 Pthread Example
00:53:49 Thread Local Storage (TLS)
1:04:18 Closing
In this video, we dive deep into kernel-level threading, the Pthread (POSIX thread) library, and the concept of Thread Local Storage (TLS) — essential topics for mastering operating systems and concurrent programming.
🔍 What you'll learn:
How kernel-level threads differ from user-level threads
How to create and manage threads using the pthread library in C
The role of the OS kernel in thread scheduling and context switching
How Thread Local Storage works and why it's critical for thread-safe data
Practical examples and code walkthroughs to reinforce each concept
Whether you're preparing for an exam, building multithreaded applications, or just curious about how modern operating systems handle concurrency, this video gives you the clarity and hands-on insight you need.
🛠️ Tools & Topics Covered
pthread_create, pthread_join, pthread_exit
TLS with __thread
📚 Subscribe for more tutorials on operating systems, embedded systems, and low-level programming. Drop a comment if you want a follow-up on thread synchronization or race conditions!