Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java455 private final HashSet<Worker> workers = new HashSet<>();
578 private final class Worker class in ThreadPoolExecutor
599 Worker(Runnable firstTask) { in Worker() method in ThreadPoolExecutor.Worker
730 for (Worker w : workers) in checkShutdownAccess()
746 for (Worker w : workers) in interruptWorkers()
776 for (Worker w : workers) { in interruptIdleWorkers()
914 Worker w = null; in addWorker()
916 w = new Worker(firstTask); in addWorker()
959 private void addWorkerFailed(Worker w) { in addWorkerFailed()
985 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.java245 new Thread(new Worker(s), "additional worker").start(); in run()
307 class Worker implements Support_HttpConstants, Runnable { class in Support_TestWebServer
337 Worker(Socket s) { in Worker() method in Support_TestWebServer.Worker