Searched defs:condition (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DReentrantLock.java52 * lock.lock(); // block until condition holds
448 * <li>When the condition {@linkplain Condition#await() waiting}
649 * Queries whether any threads are waiting on the given condition
656 * @param condition the condition
659 * @throws IllegalArgumentException if the given condition is
661 * @throws NullPointerException if the condition is null
663 public boolean hasWaiters(Condition condition) { argument
664 if (condition == null)
666 if (!(condition instanceo
686 getWaitQueueLength(Condition condition) argument
711 getWaitingThreads(Condition condition) argument
[all...]
H A DReentrantReadWriteLock.java338 * condition wait and re-established in tryAcquire.
1122 * invoke a condition waiting method when the current thread
1127 * <li>When the condition {@linkplain Condition#await() waiting}
1370 * Queries whether any threads are waiting on the given condition
1377 * @param condition the condition
1380 * @throws IllegalArgumentException if the given condition is
1382 * @throws NullPointerException if the condition is null
1384 public boolean hasWaiters(Condition condition) { argument
1385 if (condition
1407 getWaitQueueLength(Condition condition) argument
1432 getWaitingThreads(Condition condition) argument
[all...]
H A DAbstractQueuedLongSynchronizer.java120 * inserted into a condition queue. Upon signal, the node is
139 /** waitStatus value to indicate thread is waiting on condition */
159 * CONDITION: This node is currently on a condition queue.
178 * CONDITION for condition nodes. It is modified using CAS
218 * Link to next node waiting on condition, or the special
219 * value SHARED. Because condition queues are accessed only
598 * queue. Used by condition wait methods as well as acquire.
812 * to a condition wait. The value is otherwise uninterpreted
837 * entry to a condition wait. The value is otherwise
867 * to a condition wai
1492 owns(ConditionObject condition) argument
1512 hasWaiters(ConditionObject condition) argument
1534 getWaitQueueLength(ConditionObject condition) argument
1556 getWaitingThreads(ConditionObject condition) argument
[all...]
H A DAbstractQueuedSynchronizer.java64 * condition, so if this constraint cannot be met, do not use it. The
70 * condition objects. These can be exported as desired into classes
350 * inserted into a condition queue. Upon signal, the node is
369 /** waitStatus value to indicate thread is waiting on condition */
389 * CONDITION: This node is currently on a condition queue.
408 * CONDITION for condition nodes. It is modified using CAS
448 * Link to next node waiting on condition, or the special
449 * value SHARED. Because condition queues are accessed only
828 * queue. Used by condition wait methods as well as acquire.
1042 * to a condition wai
1722 owns(ConditionObject condition) argument
1742 hasWaiters(ConditionObject condition) argument
1764 getWaitQueueLength(ConditionObject condition) argument
1786 getWaitingThreads(ConditionObject condition) argument
[all...]
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jar ... assertTrue (java.lang.String, boolean) String message boolean condition public static void assertTrue (boolean) boolean condition public static void ...
/libcore/benchmarks/libs/
H A Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ...

Completed in 145 milliseconds