Operating System Presentation Script
Operating System Presentation Script
Slide1
Intro
Good afternoon mam my name is Ayanabha Chatterjee and today I am going to show you a
presentation about Deadlock.
Slide 2
What is a Resource?
In operating systems, a resource refers to a component, like CPU time, memory, or input/output
devices, that a program or process can access and utilise during execution.
Slide 3
Ready: The process is ready to run and is waiting for CPU time.
Waiting: The process is waiting for a particular event, such as I/O completion.
Slide 4
What is deadlock?
When a process holds a resource and waits for others to release it, it creates a circular waiting, that is
called deadlock.
Slide 5
Slide 6
Example of Deadlock
So this is the same example of deadlock. So here it’s created a circular wait which creates a deadlock
if I give a real-life example of deadlock if you go to the bank and you tell the employee that you want
to open an account but the employee says ok at first you need to pay a minimum amount, But you
say ok but at first, I open the account and after that, I will give the money so this situation the
deadlock situation.
Slide 7
Consequences of deadlock
Resources wastage
Slide 8
Deadlock prevention
So here are some conditions which we use to prevent deadlock. If this condition is not satisfied then
deadlock will not happen.