A thread gate, that uses an {@link java.util.concurrent.locks.AbstractQueuedSynchronizer}.
This implementation allows you to create a latch with a default state (open or closed), and repeatedly open or close the latch.
@author Manik Surtani (
manik@jboss.org)
@since 4.0