Home
last modified time | relevance | path

Searched refs:newCondition (Results 1 – 16 of 16) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java485 final Condition c = lock.newCondition(); in testAwait_IMSE()
504 final Condition c = lock.newCondition();
519 final Condition c = lock.newCondition();
541 final Condition c = lock.newCondition();
561 final Condition c = lock.newCondition(); in testAwaitUntil_Timeout()
581 final Condition c = lock.newCondition(); in testAwait()
647 final Condition c = lock.newCondition(); in testHasWaitersIAE()
662 final Condition c = lock.newCondition(); in testHasWaitersIMSE()
676 final Condition c = lock.newCondition(); in testGetWaitQueueLengthIAE()
691 final Condition c = lock.newCondition(); in testGetWaitQueueLengthIMSE()
[all …]
DAbstractQueuedLongSynchronizerTest.java70 public ConditionObject newCondition() { in newCondition() method in AbstractQueuedLongSynchronizerTest.Mutex
585 final ConditionObject c = sync.newCondition(); in testOwns()
596 final ConditionObject c = sync.newCondition(); in testAwait_IMSE()
613 final ConditionObject c = sync.newCondition();
626 final ConditionObject c = sync.newCondition();
641 final ConditionObject c = sync.newCondition();
656 final ConditionObject c = sync.newCondition();
715 final ConditionObject c = sync.newCondition();
729 final ConditionObject c = sync.newCondition();
742 final ConditionObject c = sync.newCondition();
[all …]
DAbstractQueuedSynchronizerTest.java74 public ConditionObject newCondition() { in newCondition() method in AbstractQueuedSynchronizerTest.Mutex
588 final ConditionObject c = sync.newCondition(); in testOwns()
599 final ConditionObject c = sync.newCondition(); in testAwait_IMSE()
616 final ConditionObject c = sync.newCondition();
629 final ConditionObject c = sync.newCondition();
644 final ConditionObject c = sync.newCondition();
659 final ConditionObject c = sync.newCondition();
718 final ConditionObject c = sync.newCondition();
732 final ConditionObject c = sync.newCondition();
745 final ConditionObject c = sync.newCondition();
[all …]
DReentrantReadWriteLockTest.java869 final Condition c = lock.writeLock().newCondition(); in testAwait_IMSE()
888 final Condition c = lock.writeLock().newCondition();
902 final Condition c = lock.writeLock().newCondition();
918 final Condition c = lock.writeLock().newCondition();
941 final Condition c = lock.writeLock().newCondition();
962 final Condition c = lock.writeLock().newCondition(); in testAwaitUntil_Timeout()
983 final Condition c = lock.writeLock().newCondition(); in testAwait()
1010 final Condition c = lock.writeLock().newCondition(); in testAwaitUninterruptibly()
1064 final Condition c = lock.writeLock().newCondition(); in testInterruptible()
1103 final Condition c = lock.writeLock().newCondition(); in testSignalAll()
[all …]
DThreadPoolExecutorSubclassTest.java23 final Condition cond = lock.newCondition();
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java138 final ConditionObject newCondition() { in newCondition() method in ReentrantLock.Sync
470 public Condition newCondition() { in newCondition() method in ReentrantLock
471 return sync.newCondition(); in newCondition()
DLock.java327 Condition newCondition(); in newCondition() method
DReentrantReadWriteLock.java585 final ConditionObject newCondition() { in newCondition() method in ReentrantReadWriteLock.Sync
862 public Condition newCondition() { in newCondition() method in ReentrantReadWriteLock.ReadLock
1149 public Condition newCondition() { in newCondition() method in ReentrantReadWriteLock.WriteLock
1150 return sync.newCondition(); in newCondition()
/libcore/luni/src/main/java/java/util/concurrent/
DCyclicBarrier.java125 private final Condition trip = lock.newCondition();
DLinkedBlockingQueue.java126 private final Condition notEmpty = takeLock.newCondition();
132 private final Condition notFull = putLock.newCondition();
DPriorityBlockingQueue.java185 this.notEmpty = lock.newCondition(); in PriorityBlockingQueue()
208 this.notEmpty = lock.newCondition(); in PriorityBlockingQueue()
DDelayQueue.java70 private final Condition available = lock.newCondition();
DLinkedBlockingDeque.java129 private final Condition notEmpty = lock.newCondition();
132 private final Condition notFull = lock.newCondition();
DArrayBlockingQueue.java227 notEmpty = lock.newCondition(); in ArrayBlockingQueue()
228 notFull = lock.newCondition(); in ArrayBlockingQueue()
DScheduledThreadPoolExecutor.java830 private final Condition available = lock.newCondition();
DThreadPoolExecutor.java440 private final Condition termination = mainLock.newCondition();