public RTsemBuffer () {
		Buffer buff = new Buffer();
		Producer p = new Producer(buff);
		Consumer c = new Consumer(buff);
		c.start();
		p.start();
		System.out.println("\n\n"+"RTsemBuffer: Threads are running ...");
		try {
			p.join();
			// Give consumer 10s to complete its work, then stop it.
			Thread.sleep(10000);
			c.interrupt(); // Tell consumer to stop.
			c.join(); // Wait until really stopped.
		}
		catch (InterruptedException e) {/* Continue termination...*/};
		System.out.println("\n"+"RTsemBuffer: Execution completed!");
	}