2,174 views
1 votes
1 votes

 I like to ask you regarding progress, bounded waiting and deadlock

Progress -> No deadlock

Deadlock -> Starvation and no progress
Starvation -> No bounded waiting
 
I have made this after reading  a lot of discussion . Is it the right ?
Correct me if something wrong in it

1 Answer

Best answer
6 votes
6 votes

Progress -> No deadlock

Deadlock -> Starvation and no progress

Starvation -> No bounded waiting

Progress -> No deadlock

Deadlock -> Starvation and no progress .... These Two conclusions are Correct.


Starvation -> No bounded waiting .... This is Not true.

There could be Starvation or  even Deadlock in the System, But still Bounded waiting could satisfy.

Many examples could be given but to find intuition about it, one is enough.

Consider this GATE Question : https://gateoverflow.in/1256/gate2007-58

In this Code, Deadlock is Possible and thus Starvation is Possible But Bounded Waiting is Satisfied. 

Informally Speaking, Bounded waiting is defined in the terms of "Number of times" whereas Deadlock or Starvation is defined in the terms of "time". 

 I have made this after reading  a lot of discussion . Is it the right ?

Read some Standard book like Galvin to get clarity in all concepts. 

selected by

Related questions

12 votes
12 votes
1 answer
1
0 votes
0 votes
1 answer
3
1 votes
1 votes
0 answers
4