Home
last modified time | relevance | path

Searched refs:maxThreads (Results 1 – 6 of 6) sorted by relevance

/frameworks/wilhelm/src/
DThreadPool.c87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) in ThreadPool_init() argument
120 if (0 == maxThreads) in ThreadPool_init()
121 maxThreads = THREAD_TYPICAL; in ThreadPool_init()
122 tp->mMaxThreads = maxThreads; in ThreadPool_init()
138 if (THREAD_TYPICAL >= maxThreads) { in ThreadPool_init()
141 tp->mThreadArray = (pthread_t *) malloc(maxThreads * sizeof(pthread_t)); in ThreadPool_init()
148 for (i = 0; i < maxThreads; ++i) { in ThreadPool_init()
DThreadPool.h86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads);
/frameworks/native/libs/binder/
DProcessState.cpp295 status_t ProcessState::setThreadPoolMaxThreadCount(size_t maxThreads) { in setThreadPoolMaxThreadCount() argument
297 if (ioctl(mDriverFD, BINDER_SET_MAX_THREADS, &maxThreads) == -1) { in setThreadPoolMaxThreadCount()
325 size_t maxThreads = 15; in open_driver() local
326 result = ioctl(fd, BINDER_SET_MAX_THREADS, &maxThreads); in open_driver()
/frameworks/base/tools/aapt/
DWorkQueue.cpp27 WorkQueue::WorkQueue(size_t maxThreads, bool canCallJava) : in WorkQueue() argument
28 mMaxThreads(maxThreads), mCanCallJava(canCallJava), in WorkQueue()
DWorkQueue.h50 WorkQueue(size_t maxThreads, bool canCallJava = true);
/frameworks/native/include/binder/
DProcessState.h62 status_t setThreadPoolMaxThreadCount(size_t maxThreads);