public void run() 
	{
		try 
		{
			this.MReading.acquire();
			if(this.counter == 0)
				this.MWriting.acquire();
			this.counter++;
			this.MReading.release();	
			
			System.out.println("Lecture");
			Thread.sleep(1000);
			
			this.MReading.acquire();
			this.counter--;
			if(this.counter == 0)
				this.MWriting.release();
			this.MReading.release();
		} 
		catch (InterruptedException e) 
		{
			e.printStackTrace();
		}
	}