public synchronized void acquire() {
		Thread currThread = Thread.currentThread();

		while (true) {
			if (owner == null) {
				lockAquireCount = 1;
				owner = currThread;
				return;
			}
			else if (owner == currThread) {
				lockAquireCount++;
				return;
			}
			try {
				waiterCount++;
				wait();
			}
			catch (InterruptedException e) {
				// exception from another threads notify(), ignore
				// and try to get lock again
			}
			finally {
				waiterCount--;
			}
		}
	}
Acquire this synchronization lock. (i.e. begin synchronizing on this named
lock.)
Ghidra/Framework/Project/src/main/java/ghidra/util/Lock.java