Searched refs:condition (Results 1 – 4 of 4) sorted by relevance
668 public boolean hasWaiters(Condition condition) { in hasWaiters() argument669 if (condition == null) in hasWaiters()671 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in hasWaiters()673 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()691 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() argument692 if (condition == null) in getWaitQueueLength()694 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitQueueLength()696 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()716 protected Collection<Thread> getWaitingThreads(Condition condition) { in getWaitingThreads() argument717 if (condition == null) in getWaitingThreads()[all …]
1390 public boolean hasWaiters(Condition condition) { in hasWaiters() argument1391 if (condition == null) in hasWaiters()1393 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in hasWaiters()1395 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()1413 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() argument1414 if (condition == null) in getWaitQueueLength()1416 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitQueueLength()1418 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()1438 protected Collection<Thread> getWaitingThreads(Condition condition) { in getWaitingThreads() argument1439 if (condition == null) in getWaitingThreads()[all …]
1268 public final boolean owns(ConditionObject condition) { in owns() argument1269 return condition.isOwnedBy(this); in owns()1288 public final boolean hasWaiters(ConditionObject condition) { in hasWaiters() argument1289 if (!owns(condition)) in hasWaiters()1291 return condition.hasWaiters(); in hasWaiters()1310 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() argument1311 if (!owns(condition)) in getWaitQueueLength()1313 return condition.getWaitQueueLength(); in getWaitQueueLength()1332 public final Collection<Thread> getWaitingThreads(ConditionObject condition) { in getWaitingThreads() argument1333 if (!owns(condition)) in getWaitingThreads()[all …]
1739 public final boolean owns(ConditionObject condition) { in owns() argument1740 return condition.isOwnedBy(this); in owns()1759 public final boolean hasWaiters(ConditionObject condition) { in hasWaiters() argument1760 if (!owns(condition)) in hasWaiters()1762 return condition.hasWaiters(); in hasWaiters()1781 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() argument1782 if (!owns(condition)) in getWaitQueueLength()1784 return condition.getWaitQueueLength(); in getWaitQueueLength()1803 public final Collection<Thread> getWaitingThreads(ConditionObject condition) { in getWaitingThreads() argument1804 if (!owns(condition)) in getWaitingThreads()[all …]