Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java484 private final HashSet<Worker> workers = new HashSet<>();
607 private final class Worker class in ThreadPoolExecutor
628 Worker(Runnable firstTask) { in Worker() method in ThreadPoolExecutor.Worker
759 for (Worker w : workers) in checkShutdownAccess()
775 for (Worker w : workers) in interruptWorkers()
805 for (Worker w : workers) { in interruptIdleWorkers()
943 Worker w = null; in addWorker()
945 w = new Worker(firstTask); in addWorker()
988 private void addWorkerFailed(Worker w) { in addWorkerFailed()
1014 private void processWorkerExit(Worker w, boolean completedAbruptly) { in processWorkerExit()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPipedInputStreamTest.java331 static class Worker extends Thread { class in PipedInputStreamTest
334 Worker(PipedOutputStream pos) { in Worker() method in PipedInputStreamTest.Worker
352 Thread worker = new Worker(out); in test_read_after_write_close()
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java230 new Thread(new Worker(s).setDelay(mDelay), "additional worker").start(); in run()
292 class Worker implements Support_HttpConstants, Runnable { class in Support_TestWebServer
325 Worker(Socket s) { in Worker() method in Support_TestWebServer.Worker
330 Worker setDelay(int delay) { in setDelay()