Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java700 public boolean hasWaiters(Condition condition) { in hasWaiters() argument
701 if (condition == null) in hasWaiters()
703 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in hasWaiters()
705 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()
723 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() argument
724 if (condition == null) in getWaitQueueLength()
726 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitQueueLength()
728 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
748 protected Collection<Thread> getWaitingThreads(Condition condition) { in getWaitingThreads() argument
749 if (condition == null) in getWaitingThreads()
[all …]
DReentrantReadWriteLock.java1419 public boolean hasWaiters(Condition condition) { in hasWaiters() argument
1420 if (condition == null) in hasWaiters()
1422 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in hasWaiters()
1424 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()
1442 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() argument
1443 if (condition == null) in getWaitQueueLength()
1445 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitQueueLength()
1447 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
1467 protected Collection<Thread> getWaitingThreads(Condition condition) { in getWaitingThreads() argument
1468 if (condition == null) in getWaitingThreads()
[all …]
DAbstractQueuedLongSynchronizer.java1297 public final boolean owns(ConditionObject condition) { in owns() argument
1298 return condition.isOwnedBy(this); in owns()
1317 public final boolean hasWaiters(ConditionObject condition) { in hasWaiters() argument
1318 if (!owns(condition)) in hasWaiters()
1320 return condition.hasWaiters(); in hasWaiters()
1339 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() argument
1340 if (!owns(condition)) in getWaitQueueLength()
1342 return condition.getWaitQueueLength(); in getWaitQueueLength()
1361 public final Collection<Thread> getWaitingThreads(ConditionObject condition) { in getWaitingThreads() argument
1362 if (!owns(condition)) in getWaitingThreads()
[all …]
DAbstractQueuedSynchronizer.java1771 public final boolean owns(ConditionObject condition) { in owns() argument
1772 return condition.isOwnedBy(this); in owns()
1791 public final boolean hasWaiters(ConditionObject condition) { in hasWaiters() argument
1792 if (!owns(condition)) in hasWaiters()
1794 return condition.hasWaiters(); in hasWaiters()
1813 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() argument
1814 if (!owns(condition)) in getWaitQueueLength()
1816 return condition.getWaitQueueLength(); in getWaitQueueLength()
1835 public final Collection<Thread> getWaitingThreads(ConditionObject condition) { in getWaitingThreads() argument
1836 if (!owns(condition)) in getWaitingThreads()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java112 public boolean hasWaiters(java.util.concurrent.locks.Condition condition) { in hasWaiters() argument
116 public int getWaitQueueLength(java.util.concurrent.locks.Condition condition) { in getWaitQueueLength() argument
121 java.util.concurrent.locks.Condition condition) { in getWaitingThreads() argument