Overview
Learn how to implement multithreading in C/C++ using POSIX-Threads (pthreads) in this comprehensive 34-minute video tutorial. Explore the fundamentals of multithreading, including the reasons for its implementation and the basics of pthreads. Dive into practical concepts such as thread creation, ending threads, running infinite loops, and utilizing void pointers. Discover techniques for managing multiple threads, understanding preemption, and implementing mutexes to prevent race conditions. Gain insights into mutex locks, cycle locks, and condition variables to enhance your multithreading skills. By the end of this tutorial, you'll have a solid foundation in multithreading with pthreads, enabling you to write more efficient and concurrent C/C++ programs.
Syllabus
Introduction
Why multithreading
pthreads
pthreadcreate
pthreat
ending threats
running infinitely
void pointer
run
multiple threats
preempts
mutex
mutex lock
cycle lock
condition variable
Taught by
Write your own Operating System