Deadlock explained in a joke

When studying computer science, i believe most of us will come across a term – deadlock.

The definition of deadlock is when, if i remember correctly, is when Process A is holding a resource X and waiting for a resource  Y which is holding by Process B which is holding resource Y and waiting for resource X so that it can do it task and release resource Y.

In this situation, no one is getting anything, hence, deadlock occur.

Well, sound complicated and scary, here is deadlock explained in a joke:

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

Secretary makes call to Husband: For a week my boss and I will be going abroad, you look after yourself.

Husband makes call to secret lover: My wife is going abroad for a week, so let’s spend the week together.

Secret lover makes call to small boy whom she is giving private tution: I have work for a week, so you need not come for class.

Small boy makes 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) makes call to his secretary: This week I am spending my time with my grandson. We cannot attend that meeting.

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

Husband makes call to secret lover: We cannot spend this week together, my wife has cancelled her trip.

Secret lover makes call to small boy whom she is giving private tution: This week we will have class as usual.

Small boy makes call to his grandfather: Grandpa, my teacher said this week I have to attend class. Sorry I can’t give you company.

Grandpa makes call to his secretary: Don’t worry this week we will attend that meeting, so make arrangement.

~ by hkk1212 on June 24, 2008.

2 Responses to “Deadlock explained in a joke”

  1. Is this even happen in real world? I’m curious XD

  2. If this really happens, then is someone up above being too boring and want to see a joke.

Leave a Reply