@Override
		protected int tryAcquireShared(int ignored) {
			return getState() == 0 ? 1 : -1;
		}
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