Peterson’s Solution meets all three requirements; solves the critical section problem for two processes
Can be extended to n processes by pairwise mutual exclusion – too costly
what does pairwise mutual exclusion meant here?
ref:- http://cse.iitkgp.ac.in/~agupta/OS/IPC.pdf page#20