Searched refs:ThreadPool (Results 1 – 6 of 6) sorted by relevance
/frameworks/wilhelm/src/ |
D | ThreadPool.h | 84 } ThreadPool; typedef 86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads); 87 extern void ThreadPool_deinit(ThreadPool *tp); 88 extern SLresult ThreadPool_add(ThreadPool *tp, ClosureKind kind, 91 extern Closure *ThreadPool_remove(ThreadPool *tp); 92 extern SLresult ThreadPool_add_ppi(ThreadPool *tp, ClosureHandler_ppi handler, 94 extern SLresult ThreadPool_add_ppii(ThreadPool *tp, ClosureHandler_ppii handler, 96 extern SLresult ThreadPool_add_piipp(ThreadPool *tp, ClosureHandler_piipp handler,
|
D | ThreadPool.c | 25 ThreadPool *tp = (ThreadPool *) context; in ThreadPool_start() 81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads); 87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) in ThreadPool_init() 90 memset(tp, 0, sizeof(ThreadPool)); in ThreadPool_init() 167 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads) in ThreadPool_deinit_internal() 242 void ThreadPool_deinit(ThreadPool *tp) in ThreadPool_deinit() 250 SLresult ThreadPool_add(ThreadPool *tp, ClosureKind kind, ClosureHandler_generic handler, in ThreadPool_add() 327 Closure *ThreadPool_remove(ThreadPool *tp) in ThreadPool_remove() 371 SLresult ThreadPool_add_ppi(ThreadPool *tp, ClosureHandler_ppi handler, in ThreadPool_add_ppi() 379 SLresult ThreadPool_add_ppii(ThreadPool *tp, ClosureHandler_ppii handler, in ThreadPool_add_ppii() [all …]
|
D | entry.c | 151 memset(&thiz->mThreadPool, 0, sizeof(ThreadPool)); in liCreateEngine()
|
D | classes.h | 191 ThreadPool mThreadPool; // for asynchronous operations
|
D | Android.mk | 81 ThreadPool.c \
|
/frameworks/base/docs/html/training/multiple-threads/ |
D | create-threadpool.jd | 14 <li><a href="#ThreadPool">Create a Pool of Threads</a></li> 215 <h2 id="ThreadPool">Create a Pool of Threads</h2>
|