Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Part B (ADVANCE) Multithreading Design Patterns ( pthreads )

via Udemy

Overview

Linux POSIX Threads ( Pthreads ), thread Synchronization, Operating System Concepts, C/C++ programming with Projects

What you'll learn:
  • MultiThreading Fundamentals
  • Concurrency
  • Thread Synchronization Techniques
  • Writing Thread Safe Codes
  • Thread standard problems - Reader-Writer Problem
  • Detecting and preventing Dead-locks
  • Advanced Multithreading Concepts
  • Monitors, Barriers, WaitQueues, Assembly line
  • Thread Pools, Wait Queues, Barriers, Monitors, Assembly Line

This is a sequel Course to Master Class-Multithreading & Thread Synchronization - C/C++, and this course should be done only when the prequel course has been completed unless you have reasonable knowledge regarding how Mutexes and Condition Variables work.


In this course, we shall be Implementing Advanced Thread Synchronization Data Structures and Multithreading based software patterns, with some advanced thread synchronization-based problem-solving. This course uses POSIXthreads, hence it is Linux only course. We shall be building upon the knowledge we gathered from the prequel course.


***However note that the course is highly conceptual and concepts learned can be easily applied to any programming knowledge which supports Multithreading. *** So, Java, C#,Python, Go, Kotlin Programmers do not hesitate to enroll in this course, you can write your own codes based on the concept discussed. This Course is unique and only one of its kind.


The level of this course is Intermediate to Advanced.


Table of Contents

====================

1. Thread Management

2. Pausing and Resuming Threads

3. ThreadPools/Work CrewModel

4. Thread Barriers

5. Wait-Queue Model

6. Recursive Mutexes

  • What are Recursive Mutexes?

  • When to use over Normal Mutexes?

  • Implement own Recursive Mutex

7. Read-Write Locks

  • What are Read-Write locks ?

  • What is its benefit?

  • Implement your own Read-Write lock

8. Monitors

  • Implement Reader-Writer Monitor

  • Solving Bridge Problem using Monitors

  • Guidelines for writing Monitors

  • CaseStudy :Covid Vaccination Drive Implementation using Monitors


*** Completed Till here as of 2 Mar 2022 **


9. Assembly Line Model

10. Deadlock Detection and Prevention

11. Other RelatedCourses on Multi-Threading

  • Designing Timers

  • Designing Multi-Threaded TCP Servers

  • Asynchronous Programming


UnScheduled Topics :

=================

11. Bounded Waiting

12. Fifo (Strong) Semaphores

13. Event Pair Synchronization

14. Inter-Process Synchronization using Semaphores

15. Forking a Multi-Threaded Program


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 with No Abstraction.

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.

Taught by

Abhishek CSEPracticals, Shiwani Nigam and Ekta Ekta

Reviews

4.5 rating at Udemy based on 35 ratings

Start your review of Part B (ADVANCE) Multithreading Design Patterns ( pthreads )

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.