let S and Q to be initialized to 1
process p0: process p1:
wait(S); wait(Q);
wait(Q); wait(S);
.. ..
.. ..
Signal(S); Signal(Q);
Signal(Q); Signal(S);
I know there is a deadlock , where both the process will be going into the sleep , so what about starvation and bounded waiting?
My approach:
as only p0 can be executed any number of times i think there will be starvation and no bounded waiting.But answer is given that there is No Starvation.