Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Deadlocks-R.D.Sivakumar
1. Video Lecture and E-Content Created by
R.D.SIVAKUMAR,M.Sc.,M.Phil.,M.Tech.,
Assistant Professor of Computer Science &
Assistant Professor and Head, Department of M.Com.(CA),
Ayya Nadar Janaki Ammal College,
Sivakasi – 626 124.
Mobile: 099440-42243
e-mail : sivamsccsit@gmail.com website: www.rdsivakumar.blogspot.in
DEADLOCKS
2. It is also known as indefinite blocking.
It is a situation in which two processes are unknowingly waiting for
resources that are held by each other.
DEADLOCKS
3. Two processes (P1, P2) and two resources (R1, R2).
P1 request the resources R1,
R1 held by process P2.
P2 request the resource R2,
R2 held by process P1.
EXAMPLE
4. Both are entered into the waiting state, there is no work
progress for process P1 and P2. This situation is called a
deadlock.
DEADLOCK SITUATION