Can somebody please show atleast one example where a synchromnisation mechanism
" DOESNOT GUARANTEE BOUNDED WAITING BUT STILL IT GUARANTEES STARVATION FREEDOM "
I am not able to find one ..
MY LOGIC : If Bounded waiting is not guaranteed , then it means that after process P1 has requested its interest to enter CS,then there neednot be any bound on the number of times,other processes (say P2) can enter CS making P1 wait.
Now,here P1 is waiting indefinitely (it doesnot know when will it get a chance to enter CS,because when the scheduler schedules P1,CS is not free and when the CS is free,the scheduler is not scheduling P1) . Now here definitely P1 starves right .......?
So can we say that if BOUNDED WAITING IS NOT GUARANTEED, THEN THAT SOLUTION WILL SURELY SUFFER FROM STARVATION ??? Please correct me if I am wrong in understanding of definitions of Bounded waiting,starvation.