@Override
	public void run() {
		// TODO Auto-generated method stub
		int i=0;
		while(!stop){
			System.out.println("Value of i: "+i);
			if(suspend){
				synchronized (this) {
					System.out.println("This thread is going to be suspend...");
					try {
						wait();
					} catch (InterruptedException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
				}
				
			}
			i++;
		}
	}