Home
last modified time | relevance | path

Searched refs:active (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DAbstractExecutorService.java138 int active = 1; in doInvokeAny() local
146 ++active; in doInvokeAny()
148 else if (active == 0) in doInvokeAny()
160 --active; in doInvokeAny()
DForkJoinPool.java2076 for (boolean active = true;;) { in helpQuiescePool()
2081 if (!active) { // re-establish active count in helpQuiescePool()
2082 active = true; in helpQuiescePool()
2093 else if (active) { // decrement active count without queuing in helpQuiescePool()
2098 active = false; in helpQuiescePool()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java224 int active = 0; in test_activeCount() local
227 active = Thread.activeCount(); in test_activeCount()
229 assertTrue("Incorrect activeCount for current group: " + active, active > 1); in test_activeCount()