So, it is like this that suppose I have got two processes P 1 and P 2. And in a priority based scheduling policy maybe P 1 is of higher priority than P 2. But suppose in the system P 2 came first, so it executed a wait on some semaphore S and then after that it was executing the critical section.
मान लीजिए कि P1 और P2 दो प्रोसेस है।