in Operating System
1,138 views
1 vote
1 vote
If a synchronization mechanism satisfies Bounded Waiting but no Progress and also it is a busy waiting solution so will there be any starvation ?
in Operating System
1.1k views

2 Answers

1 vote
1 vote
Best answer

Yes, there can be. Busy waiting doesn't help for starvation freedom. Bounded waiting + progress ensures no starvation, but just bounded waiting alone doesn't ensure no starvation.

Bounded Waiting: "After a process made a request to enter its critical section and before it is granted the permission to enter, there exists a bound on the number of turns that other processes are allowed to enter"

So, bounded waiting condition is not violated during a deadlock, but progress is not made and starvation freedom may not be there for some process.

See below link for more such properties.

http://www.csl.mtu.edu/cs3331.ck/common/05-Sync-Basics.pdf

selected by
by

4 Comments

Sir , Agree that there are finite number of processes which can enter so that implies that after some amount of time , the original process would get the chance to enter into Critical section and hence there will be no starvation .
0
0
Deadlock can happen- bounded wait can still be satisfied.
0
0

Thank you @Arjun @radha gogia. This discussion has cleared many doubts. and that pdf is awesome. 

0
0
0 votes
0 votes
Bounded waiting:The process won't wait for infinite time for resource.

No progress:Due to other processes the current process may not get the chance

Busy waiting solution:But the process will continue to check for opportunity.

When you combine these 3 there may b starvation I think.Because in starvation the process will wait for an arbitrary time.Everything depends on the synchronisation mechanism.

Related questions