Say at first P1 goes into the <CS> and P2 is blocked in S2 and P3 in S1. therefore S1=0,S2=0,S3=0 currently.
when P1 exists then S1=1,S2=1,S3=1. Here i am facing the doubt.. since S2,S3,S1 all are one can P1 again enter the <CS> at the very same moment,again? (if so then bounded waiting can never be satisfied) Or since P2 and P3 are blocked they are already in the queue and P1 will be added after them?