Deadlocks in Operating System

Deadlock Prevention and Deadlock Avoidance
English [Auto]
Deadlocks in OS
Banker's Algorithm


  • Process Management concept in OS


Welcome to the course on topic "Deadlocks in Operating System". This course explains basics of multi programmed operating system and deadlocks in operating system. Process management is an important topic in study of operating system. Process management involves creation, scheduling and termination  of process. In scheduling, OS allocates requested resources to the processes, if they are available. If resources are not available then process must wait, till it get allocated with requested resource. While performing these tasks, if process remain into wait state for infinite amount of time, then deadlock may occur. This affects performance of system.

This course starts with explanation of deadlock and how deadlocks happen. It then explains four necessary conditions for deadlock to occur. It includes explanation of the deadlock handling methods such as deadlock prevention and deadlock avoidance. This course helps learner to understand concepts in deadlock handling methods. It further explains safe state and Banker's algorithm with solved example. Resource allocation graph method for handling deadlock avoidance in single instance resource system is also explained. After completing this course, learner will be able to understand deadlock terminologies and will be able to solve problems based on Banker's algorithm example. Hope you all will enjoy this course.

Who this course is for:

  • Operating System beginners

Course content

4 sections6 lectures40m total length
  • Introduction to Deadlock


Megha Patil
  • 5.0 Instructor Rating
  • 1 Review
  • 545 Students
  • 1 Course

I am working in academic field since 2012.  I Taught computer engineering subjects including Operating Systems, OOP, System Programming,  computer graphics etc. I am working as Assistant Professor in K K Wagh Institute of Engineering Education and Research, Nashik. My area of interests are C++, Java Programming, image processing, computer vision, Artificial Intelligence & Machine Learning