Class CountingReadWriteLock

java.lang.Object
VASSAL.tools.concurrent.CountingReadWriteLock
All Implemented Interfaces:
ReadWriteLock

public class CountingReadWriteLock extends Object implements ReadWriteLock
A ReadWriteLock which counts locks held. Locks are not associated with particular threads as with ReentrantReadWriteLock, so can be released from threads other than the the ones which acquired them.
Since:
3.2.0
Author:
Joel Uckelman