Searched refs:nThreads (Results 1 – 2 of 2) sorted by relevance
81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads);93 unsigned nThreads = 0; // number of threads successfully created in ThreadPool_init() local154 ++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() argument173 if (0 < nThreads) { in ThreadPool_deinit_internal()185 for (i = 0; i < nThreads; ++i) { in ThreadPool_deinit_internal()
50 public static ExecutorService newFixedThreadPool(int nThreads, String poolName, in newFixedThreadPool() argument52 return Executors.newFixedThreadPool(nThreads, in newFixedThreadPool()