Searched refs:ThreadPool (Results 1 - 5 of 5) sorted by relevance

/frameworks/wilhelm/src/
H A DThreadPool.h17 /** \file ThreadPool.h ThreadPool interface */
50 /** \brief ThreadPool manages a pool of worker threads that execute Closures */
84 } ThreadPool; typedef in typeref:struct:__anon1601
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 DThreadPool.c17 /* 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 Dentry.c151 memset(&thiz->mThreadPool, 0, sizeof(ThreadPool));
H A Dclasses.h185 ThreadPool mThreadPool; // for asynchronous operations
H A DAndroid.mk83 ThreadPool.c \

Completed in 118 milliseconds