Home
last modified time | relevance | path

Searched refs:runnables (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava/src/com/google/common/util/concurrent/
DExecutionList.java56 private RunnableExecutorPair runnables; field in ExecutionList
93 runnables = new RunnableExecutorPair(runnable, executor, runnables); in add()
125 list = runnables; in execute()
126 runnables = null; // allow GC to free listeners even if this stays around for a while. in execute()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DExecutionListBenchmark.java278 final Queue<OldExecutionList.RunnableExecutorPair> runnables = Lists.newLinkedList();
287 synchronized (runnables) {
289 runnables.add(new RunnableExecutorPair(runnable, executor));
301 synchronized (runnables) {
308 while (!runnables.isEmpty()) {
309 runnables.poll().execute();
338 private RunnableExecutorPair runnables;
348 runnables = new RunnableExecutorPair(runnable, executor, runnables);
362 list = runnables;
363 runnables = null; // allow GC to free listeners even if this stays around for a while.
/external/mockito/src/test/java/org/mockitoutil/
DConcurrentTesting.java24 public static void concurrently(Runnable ... runnables) throws InterruptedException { in concurrently() argument
26 for (Runnable r : runnables) { in concurrently()
/external/testng/src/main/java/org/testng/internal/thread/graph/
DGraphThreadPoolExecutor.java62 List<IWorker<T>> runnables = m_factory.createWorkers(freeNodes); in runNodes() local
63 for (IWorker<T> r : runnables) { in runNodes()
/external/testng/src/main/java/org/testng/
DTestRunner.java780 List<IWorker<ITestNGMethod>> runnables = createWorkers(freeNodes); in privateRun() local
781 for (IWorker<ITestNGMethod> r : runnables) { in privateRun()