public static void main(String[] args) {
		new Thread(new Runnable() {
			
			@Override
			public void run() {
				while (!Thread.currentThread().isInterrupted()) {
					shared();
				}
			}
		}).start();
		new Thread(new Runnable() {
			
			@Override
			public void run() {
				while (!Thread.currentThread().isInterrupted()) {
					shared();
				}
			}
		}).start();
	}