public void run() 
	{
		try
		{
			this.MPrio.acquire();
				if(this.counter == 0)
					this.MReading.acquire();
				this.counter++;
			this.MPrio.release();	
				this.MWriting.acquire();
				
				System.out.println("Ecriture");
				Thread.sleep(1000);

				this.MWriting.release();
			this.MPrio.acquire();		
				this.counter++;
				if(this.counter == 0)
					this.MReading.release();
			this.MPrio.release();
		}
		catch (InterruptedException e) 
		{
			e.printStackTrace();
		}
	}