protected synchronized void waitForInput() {
		for (;;) {
			if (isCancelled || inputReceived) {
				return;
			}
			try {
				prompting = true;
				wait();
			}
			catch (InterruptedException e) {
				// loop again
			}
		}
	}
Block until the user completes the current merge operation, or 
cancels the merge process.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/MergeManager.java