Lines Matching refs:threads
125 List<Thread> threads = new ArrayList<>();
128 threads.add(new Thread() {
150 threads.get(i).start();
156 for (int i = 0; i < threads.size(); i++) {
158 threads.get(i).join();
169 List<Thread> threads = new ArrayList<>();
172 threads.add(new Thread() {
187 threads.get(i).start();
190 for (int i = 0; i < threads.size(); i++) {
192 threads.get(i).join();