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