Searched refs:ThreadPool (Results 1 - 5 of 5) sorted by relevance
/frameworks/wilhelm/src/ |
H A D | ThreadPool.h | 17 /** \file ThreadPool.h ThreadPool interface */ 50 /** \brief ThreadPool manages a pool of worker threads that execute Closures */ 84 } ThreadPool; typedef in typeref:struct:__anon1556 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 *t [all...] |
H A D | ThreadPool.c | 17 /* ThreadPool */ 25 ThreadPool *tp = (ThreadPool *) context; 81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads); 83 // Initialize a ThreadPool 87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) 90 memset(tp, 0, sizeof(ThreadPool)); 167 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads) 242 void ThreadPool_deinit(ThreadPool *tp) 250 SLresult ThreadPool_add(ThreadPool *t [all...] |
H A D | entry.c | 151 memset(&thiz->mThreadPool, 0, sizeof(ThreadPool));
|
H A D | classes.h | 190 ThreadPool mThreadPool; // for asynchronous operations
|
H A D | Android.mk | 83 ThreadPool.c \
|
Completed in 64 milliseconds