Deadlock - a good example
Boss
said to secretary : For a week we will go abroad, so make
arrangement.
Secretary makes a call to her husband: For a week my boss
and I will be going abroad, you look after yourself.
Husband makes a call
to his secret lover : My wife is going abroad for a week, so lets spend the week
together.
Secret lover makes a call to a small boy whom she is giving
private tuitions : I have work for a week, so you need not come for
class.
Small boy makes a call to his grandfather : Grandpa, for a week I
don't have class 'coz my teacher is busy. Lets spend the week
together.
Grandpa (the 1st boss) makes a call to his secretary : This
week I am spending my time with my grandson. We cannot attend that
meeting.
Secretary makes a call to her husband : This week my boss has
some work, we cancelled our trip.
Husband makes a call to the secret
lover : We cannot spend this week together, my wife has cancelled her
trip.
Secret lover makes a call to the small boy whom she is giving
private tuitions : This week we will have class as usual.
Small boy makes
a call to his grandfather : Grandpa, my teacher said this week I have to attend
class. Sorry I can't give you company.
Grandpa makes a call to his
secretary : Don't worry this week we will attend that meeting, so make
arrangement.
Fully and finally
confused?????????
Well.........
This is called
deadlock!!!
haha wish I knew that one when I was attending the CS operating system class lol.
This is not DeadLock. This is recursive triggers. Boss is the proc, which makes Seceratery (as trigger) to fire, and so on.......U should receive a error message after 32 recursive.
Ha ha ... Nice one, thanx for sharing
hahahahahaha so funny....
LOL it's funny
Please log in to reply to this post
You can also log in using your Facebook
What people are reading
You might like these other discussions...
· Posts 9
· Viewed 12663
· Likes 1
· Posts 7
· Viewed 4102
· Likes 1
· Posts 21
· Viewed 10252
· Likes 1
· Posts 5
· Viewed 7865
· Likes 1