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

YouTube

Critical Section Problem - Race Condition in OS

CodeHelp - by Babbar via YouTube

Overview

Dive into a comprehensive 35-minute video lecture on the Critical Section Problem and Race Conditions in operating systems. Explore Thread Scheduling Problem, Peterson's Solution, and Mutex/Locks with hands-on examples. Learn about the conditions necessary for solving Critical-section problems, examine the use of single flags in overcoming Race conditions, and understand the disadvantages of locks. Gain practical insights through code demonstrations and access supplementary materials including notes, slides, and a Discord server for further discussion. Stay motivated throughout your learning journey by remembering your initial purpose for starting this educational endeavor.

Syllabus

- Introduction
- Promotion
- Critical Section and Race condition
- Hands-on example of Race condition
- Solution to overcome Race condition
- Hands-on example to overcome Race condition using locks
- Conditions a Solution should have to solve Critical-section problem
- Can we use single flag to overcome Race condition
- Peterson's solution
- Locks and its disadvantages

Taught by

CodeHelp - by Babbar

Reviews

Start your review of Critical Section Problem - Race Condition in OS

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.