@Override
	public void run() {
		if(flag){
			synchronized (MyLock.locka) {
				System.out.println("if..locka");
				synchronized (MyLock.lockb) {
					System.out.println("if..lockb");
				}
			}
		}else {
			synchronized (MyLock.lockb) {
				System.out.println("else..lockb");
				synchronized (MyLock.locka) {
					System.out.println("else..locka");
				}
			}
		}
	}