Monday, March 16, 2009

What is deadlock | deadlock concept in real life scenario


Have you ever heard the word DEADLOCK? Are you getting what it means? In words it says that if there are 3 processes A,B, and C. A is waiting for B Bis waiting for C and C is waiting for A. Means everyone is waiting for other one. Quit confusing?
:)
okay lets see below example :



Boss said to secretary : For a week we will go abroad, so make arrangement.



Secretary make call to Husband : For a week my boss and I will be going abroad, you look

after yourself.



Husband make call to secret lover : My wife is going abroad for a week, so lets spend the

week together.



Secret lover make call to small boy whom she is giving private tuition : I have work for a

week, so you need not come for class.



Small boy make call to his grandfather : Grandpa, for a week I don't have class 'coz my

teacher is busy. Let's spend the week together.



Grandpa (the 1st boss ;)) make call to his secretary : This week I am spending my time with

my grandson. We cannot attend that meeting.



Secretary make call to her husband : This week my boss has some work, we canceled our trip.



Husband make call to secret lover : We cannot spend this week together, my wife has canceled

her trip.



Secret lover make call to small boy whom she is giving private tuition:

This week we will have class as usual.



Small boy make call to his grandfather: Grandpa, my teacher said this week I have to attend

class. Sorry I can't give you company.



Grandpa make call to his secretary : Don't worry this week we will attend that meeting, so

make arrangement …………………

This is called DEAD LOCK……….


I hope you get is now

:)


1 comment: