Searched refs:isHeldByCurrentThread (Results 1 – 8 of 8) sorted by relevance
80 public boolean isHeldByCurrentThread() { in isHeldByCurrentThread() method in ReentrantLock
614 public boolean isHeldByCurrentThread() { in isHeldByCurrentThread() method in ReentrantLock
1221 public boolean isHeldByCurrentThread() { in isHeldByCurrentThread() method in ReentrantReadWriteLock.WriteLock
82 assertFalse(lock.isHeldByCurrentThread()); in releaseLock()105 assertFalse(lock.isHeldByCurrentThread()); in assertNotLocked()117 lock.isHeldByCurrentThread()); in assertLockedBy()487 assertTrue(lock.isHeldByCurrentThread()); in testLockInterruptibly()
108 assertFalse(lock.writeLock().isHeldByCurrentThread()); in assertNotWriteLocked()123 lock.writeLock().isHeldByCurrentThread()); in assertWriteLockedBy()826 assertTrue(lock.writeLock().isHeldByCurrentThread()); in testReadTryLock_Timeout()848 assertTrue(lock.writeLock().isHeldByCurrentThread()); in testWriteLockInterruptibly()
105 assertFalse(lock.isHeldByCurrentThread()); in releaseLock()128 assertFalse(lock.isHeldByCurrentThread()); in assertNotLocked()140 lock.isHeldByCurrentThread()); in assertLockedBy()510 assertTrue(lock.isHeldByCurrentThread()); in testLockInterruptibly()
131 assertFalse(lock.writeLock().isHeldByCurrentThread()); in assertNotWriteLocked()146 lock.writeLock().isHeldByCurrentThread()); in assertWriteLockedBy()849 assertTrue(lock.writeLock().isHeldByCurrentThread()); in testReadTryLock_Timeout()871 assertTrue(lock.writeLock().isHeldByCurrentThread()); in testWriteLockInterruptibly()
16979 method public boolean isHeldByCurrentThread();17025 method public boolean isHeldByCurrentThread();