Home | History | Annotate | Download | only in src

Lines Matching defs:ThreadPool

17 /** \file ThreadPool.h ThreadPool interface */
50 /** \brief ThreadPool manages a pool of worker threads that execute Closures */
84 } ThreadPool;
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,