http://slideplayer.fr/1757273/7/images/12/Algorithme+2+void+enteringCriticalSection%28int+t%29+%7B+%7B+flag0+%3D+true%3B.jpg