void increment() {
			for (;;) {
				int count = getState();
				int nextCount = count + 1;
				if (compareAndSetState(count, nextCount)) {
					return;
				}
			}
		}
Latch that has a count that can be incremented and decremented.  Threads that call await() will
block until the count is 0.
Ghidra/Framework/Generic/src/main/java/ghidra/util/CountLatch.java