Home
last modified time | relevance | path

Searched refs:nThreads (Results 1 – 2 of 2) sorted by relevance

/frameworks/wilhelm/src/
DThreadPool.cpp81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads);
93 unsigned nThreads = 0; // number of threads successfully created in ThreadPool_init() local
154 ++nThreads; in ThreadPool_init()
163 ThreadPool_deinit_internal(tp, initialized, nThreads); in ThreadPool_init()
167 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads) in ThreadPool_deinit_internal() argument
173 if (0 < nThreads) { in ThreadPool_deinit_internal()
185 for (i = 0; i < nThreads; ++i) { in ThreadPool_deinit_internal()
/frameworks/base/core/java/com/android/internal/util/
DConcurrentUtils.java50 public static ExecutorService newFixedThreadPool(int nThreads, String poolName, in newFixedThreadPool() argument
52 return Executors.newFixedThreadPool(nThreads, in newFixedThreadPool()