1314151617181920212223
Sync rl, wl; protected void setUp() throws Exception { super.setUp(); ReadWriteLock l=new ReentrantWriterPreferenceReadWriteLock(); rl=l.readLock(); wl=l.writeLock(); } protected void tearDown() throws Exception { super.tearDown();