Searched refs:maxClosures (Results 1 – 2 of 2) sorted by relevance
87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) in ThreadPool_init() argument117 if (0 == maxClosures) in ThreadPool_init()118 maxClosures = CLOSURE_TYPICAL; in ThreadPool_init()119 tp->mMaxClosures = maxClosures; in ThreadPool_init()125 if (CLOSURE_TYPICAL >= maxClosures) { in ThreadPool_init()128 tp->mClosureArray = (Closure **) malloc((maxClosures + 1) * sizeof(Closure *)); in ThreadPool_init()
86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads);