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.java146 int active = 1; in doInvokeAny() local
154 ++active; in doInvokeAny()
156 else if (active == 0) in doInvokeAny()
168 --active; in doInvokeAny()
DForkJoinPool.java2267 for (boolean active = true;;) { in helpQuiescePool()
2274 if (!active) { // re-establish active count in helpQuiescePool()
2275 active = true; in helpQuiescePool()
2285 else if (active) { // decrement active count without queuing in helpQuiescePool()
2288 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()