Searched refs:nThreads (Results 1 – 4 of 4) sorted by relevance
/frameworks/wilhelm/src/ |
D | ThreadPool.cpp | 81 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/ |
D | ConcurrentUtils.java | 53 public static ExecutorService newFixedThreadPool(int nThreads, String poolName, in newFixedThreadPool() argument 55 return Executors.newFixedThreadPool(nThreads, in newFixedThreadPool()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationListenersTest.java | 654 private static void testThreadSafety(Runnable operationToTest, int nThreads, in testThreadSafety() argument 657 final CountDownLatch doneLatch = new CountDownLatch(nThreads); in testThreadSafety() 659 for (int i = 0; i < nThreads; i++) { in testThreadSafety()
|
D | ManagedServicesTest.java | 2356 private static void testThreadSafety(Runnable operationToTest, int nThreads, in testThreadSafety() argument 2359 final CountDownLatch doneLatch = new CountDownLatch(nThreads); in testThreadSafety() 2361 for (int i = 0; i < nThreads; i++) { in testThreadSafety()
|