M2;proc1()fproc2()facquire(m1);acquire(m2);while(!flaga)fgflaga=true;flagb=true; published presentations and documents on DocSlides.