Lesson 19 of 43 • 7 upvotes • 13:51mins
The producer consumer problem which is a classic synchronization problem is explained and solved using semaphores.
43 lessons • 8h 51m
Introduction, Process and Thread
15:00mins
Process Layout, Context switching, PCB
12:52mins
Process Scheduling, Different types of Schedulers
13:09mins
Terms related to processes, FCFS Algorithm
13:28mins
Shortest Job First, Shortest Remaining Time First
14:09mins
Priority Scheduling (Preemptive and Non Preemptive)
13:05mins
Round Robin Scheduling.
14:34mins
Multilevel Queue Scheduling, Multilevel Feedback Queue Scheduling.
10:48mins
Convoy Effect in FCFS.
9:26mins
SJF with prediction of Burst time.
14:37mins
Comparison of Scheduling Algorithms.
14:28mins
Introduction to Process Sychronization, Race condition
11:22mins
Critical section.
9:33mins
Hardware solutions for Critical section, Disable interrupt, Test and set instruction.
13:05mins
Compare and swap instruction.
11:19mins
Test and set instruction with bounded waiting.
14:14mins
Peterson's solution for Critical section problem.
8:30mins
Mutex and semaphore for solving Critical section problem.
11:29mins
Producer- Consumer problem / Bounded buffer problem.
13:51mins
Readers- Writers problem.
14:55mins
Dining philosophers problem.
12:31mins
Interprocess Communication.
13:19mins
Deadlocks
12:11mins
Handling deadlocks - Deadlock prevention
11:42mins
Deadlock avoidance- Resource allocation graph algorithm.
9:42mins
Banker's Algorithm.
15:00mins
Banker's Algorithm - Resource Request algorithm
14:39mins
Deadlock prevention and recovery.
10:53mins
Memory management - Introduction.
13:40mins
Logical & Physical address, Address binding, Dynamic loading & linking.
9:34mins
Contiguous memory allocation.
9:56mins
Memory allocation algorithms - First fit, Best fit and Worst fit.
10:45mins
Non contiguous memory allocation - Segmentation
11:26mins
Non contiguous memory allocation- Paging
12:54mins
Hierarchical paging, Hashed page tables, Inverted page tables.
10:56mins
Translation look-aside buffer (TLB) in paging.
14:29mins
Virtual memory
8:50mins
Demand paging, Page faults & Page replacement.
11:37mins
Optimal Page replacement algorithm.
9:55mins
Least Recently Used (LRU) Page replacement algorithm
10:25mins
First In First Out (FIFO) Page replacement algorithm.
13:52mins
Counting Based Page replacement algorithms.
14:01mins
An interesting question on Semaphore
15:00mins