HomeSort by relevance Sort by last modified time
    Searched refs:ThreadPool (Results 1 - 10 of 10) sorted by null

  /system/media/opensles/libopensles/
ThreadPool.h 17 /** \file ThreadPool.h ThreadPool interface */
27 /** \brief ThreadPool manages a pool of worker threads that execute Closures */
51 } ThreadPool;
53 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads);
54 extern void ThreadPool_deinit(ThreadPool *tp);
55 extern SLresult ThreadPool_add(ThreadPool *tp, void (*handler)(void *, int), void *context,
57 extern Closure *ThreadPool_remove(ThreadPool *tp);
ThreadPool.c 17 /* ThreadPool */
25 ThreadPool *tp = (ThreadPool *) context;
49 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads);
51 // Initialize a ThreadPool
55 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads)
58 memset(tp, 0, sizeof(ThreadPool));
135 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads)
211 void ThreadPool_deinit(ThreadPool *tp)
217 SLresult ThreadPool_add(ThreadPool *tp, void (*handler)(void *, int), void *context, int parameter
    [all...]
Android.mk 52 ThreadPool.c \
IEngine.c 855 memset(&this->mThreadPool, 0, sizeof(ThreadPool));
sles_allinclusive.h 57 #include "ThreadPool.h"
553 ThreadPool mThreadPool; // for asynchronous operations
    [all...]
  /libcore/luni/src/test/java/tests/support/
ThreadPool.java 22 public class ThreadPool extends ThreadGroup {
32 public ThreadPool(int numThreads) {
33 super("ThreadPool-" + (threadPoolID++));
93 super(ThreadPool.this, "PooledThread-" + (threadID++));
  /libcore/luni/src/test/java/tests/java/sql/
StressTest.java 37 import tests.support.ThreadPool;
145 ThreadPool threadPool = new ThreadPool(numTasks);
149 threadPool.runTask(createTask(i));
152 threadPool.join();
230 ThreadPool threadPool = new ThreadPool(numConnections);
234 threadPool.runTask(insertTask(numConnections, i))
    [all...]
MultiThreadAccessTest.java 38 import tests.support.ThreadPool;
51 private ThreadPool threadPool;
63 threadPool = new ThreadPool(numThreads);
67 threadPool.join();
134 threadPool.runTask(createTask1(i));
152 threadPool.runTask(createTask1(1));
153 threadPool.runTask(createTask2(2));
154 threadPool.runTask(createTask3(3))
    [all...]
  /external/chromium/base/
simple_thread_unittest.cc 137 TEST(SimpleThreadTest, ThreadPool) {
  /libcore/luni/src/test/java/tests/SQLite/
DatabaseTest.java 27 import tests.support.ThreadPool;
420 ThreadPool threadPool = new ThreadPool(numThreads);
443 threadPool.runTask(createTask1(id1, dbFile.getPath(), tracker));
446 threadPool
449 threadPool.join();
536 ThreadPool threadPool = new ThreadPool(numThreads)
    [all...]

Completed in 117 milliseconds