Home | Projects | Notes > Multi-Threading (POSIX Threads) > Thread Synchronization - Mutex

Thread Synchronization - Mutex

 

Introduction to Mutex

See "POSIX APIs for Mutex" section below for all the relevant APIs.

 

Mutex Rules

 

Two Types of Mutex Locking

Code Locking (Static Locking)

Object Locking (Run-time Locking)

 

POXIS APIs for Mutex

 

Challenge

 

References

Sagar, A. (2022). Part A - Multithreading & Thread Synchronization - Pthreads [Video file]. Retrieved from https://www.udemy.com/course/multithreading_parta/