Critical Section Problem - Race Condition in OS
Offered By: CodeHelp - by Babbar via YouTube
Course Description
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
Related Courses
Paradigms of Computer Programming – FundamentalsUniversité catholique de Louvain via edX Paradigms of Computer Programming – Abstraction and Concurrency
Université catholique de Louvain via edX Computing: Art, Magic, Science - Part II
ETH Zurich via edX Concurrency
AdaCore via Independent Java Fundamentals for Android Development
Galileo University via edX