1 Of 2 - Recursive Mutexes | MultiThreading in C/C++ | Pthreads | Thread Synchronization

preview_player
Показать описание
Recursive Mutexes Explained.
Interview Conceptual Question 1

A recursive Mutex is little more than a normal mutex. It allows the same thread to grab a lock on it more than ones, without getting into deadlock. The locking thread must unlock the recursive mutex as many times as it had locked to completely release it. But why would a developer lock the same mutex more than ones ??

Watch on to get the answer …

Courses specifically on Multithreading :
Part A - Multithreading & Thread Synchronization - Pthreads

Part B (ADVANCE) Multithreading Design Patterns ( pthreads )

Asynchronous Programming Design Patterns - C/C++

Free Courses :

Welcome to the Course Series on Multi-Threading - The Master Class Course on Threads.

This course is for those who want to develop fundamental concepts on Multi-threading and related concepts. In this course, we shall be going to cover Multi-threading concepts based on Pthreads (POSIX threads) on the Linux platform.

Though We use the C language to demonstrate the concepts, concepts hold good for any programming language. This course is equally valuable for C++ programmers. Other language programmers may also find this course useful as we explain Multithreading concepts close to the ground zero levels No Abstraction.

We shall discuss several concepts involved in multithreading and demonstrate each concept through a sample program. Several Important Concepts include but not limited to - Deadlocks, Mutual Exclusion, Atomicity, Thread Synchronization, Race Conditions, Thread forking, and many more.

In the Next Installment of this course, we shall extend our knowledge of Multi-threading to Advance Concepts, including mini-projects on Multithreading and Thread Synchronization.

At each stage of this Course series, you shall be writing a lot of multi-threaded Codes. So be ready to Master the Multi-threading. Along the journey, we shall cover several interview-favorite topics and Questions to prepare you alongside for interviews.
Рекомендации по теме