# | Line 241 | Line 241 | public class ReentrantReadWriteLockTest | |
---|---|---|
241 | ||
242 | Thread.sleep(SHORT_DELAY_MS); | |
243 | t.interrupt(); | |
244 | – | Thread.sleep(SHORT_DELAY_MS); |
245 | – | lock.writeLock().unlock(); |
244 | t.join(); | |
245 | + | releaseLock(lock.writeLock()); |
246 | } | |
247 | ||
248 | /** |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |