ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ReentrantReadWriteLockTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ReentrantReadWriteLockTest.java (file contents):
Revision 1.56 by jsr166, Tue May 3 06:08:49 2011 UTC vs.
Revision 1.57 by dl, Sat May 7 11:15:04 2011 UTC

# Line 376 | Line 376 | public class ReentrantReadWriteLockTest
376                  lock.writeLock().lock();
377                  lock.writeLock().unlock();
378              }});
379 <
380 <        awaitTermination(t1);
381 <        waitForQueuedThread(lock, t2);
382 <        assertNotWriteLocked(lock);
379 >        delay(SHORT_DELAY_MS);
380          lock.readLock().unlock();
381 +        awaitTermination(t1);
382          awaitTermination(t2);
383 +        assertNotWriteLocked(lock);
384      }
385  
386      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines