HomeSort by relevance Sort by last modified time
    Searched defs:ThreadPool (Results 1 - 25 of 29) sorted by null

1 2

  /build/kati/
thread_pool.h 22 class ThreadPool {
24 virtual ~ThreadPool() = default;
30 ThreadPool() = default;
33 ThreadPool* NewThreadPool(int num_threads);
  /external/llvm/lib/Support/
ThreadPool.cpp 1 //==-- llvm/Support/ThreadPool.cpp - A ThreadPool implementation -*- C++ -*-==//
14 #include "llvm/Support/ThreadPool.h"
24 ThreadPool::ThreadPool() : ThreadPool(std::thread::hardware_concurrency()) {}
26 ThreadPool::ThreadPool(unsigned ThreadCount)
63 // Adjust `ActiveThreads`, in case someone waits on ThreadPool::wait()
68 // Notify task completion, in case someone waits on ThreadPool::wait(
    [all...]
  /external/icu/icu4c/source/test/intltest/
simplethread.h 31 // ThreadPool - utililty class to simplify the spawning a group of threads by
35 // ThreadPool<TestClass> pool(
65 class ThreadPool : public ThreadPoolBase {
69 ThreadPool(TestClass *test, int howMany, void (TestClass::*runFnPtr)(int32_t threadNumber)) :
71 virtual ~ThreadPool() {};
  /external/llvm/include/llvm/Support/
ThreadPool.h 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
46 /// A ThreadPool for asynchronous parallel execution on a defined number of
51 class ThreadPool {
67 ThreadPool();
70 ThreadPool(unsigned ThreadCount);
73 ~ThreadPool();
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
31 /// A ThreadPool for asynchronous parallel execution on a defined number of
36 class ThreadPool {
52 ThreadPool();
55 ThreadPool(unsigned ThreadCount);
58 ~ThreadPool();
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
31 /// A ThreadPool for asynchronous parallel execution on a defined number of
36 class ThreadPool {
52 ThreadPool();
55 ThreadPool(unsigned ThreadCount);
58 ~ThreadPool();
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
31 /// A ThreadPool for asynchronous parallel execution on a defined number of
36 class ThreadPool {
52 ThreadPool();
55 ThreadPool(unsigned ThreadCount);
58 ~ThreadPool();
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
31 /// A ThreadPool for asynchronous parallel execution on a defined number of
36 class ThreadPool {
52 ThreadPool();
55 ThreadPool(unsigned ThreadCount);
58 ~ThreadPool();
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
31 /// A ThreadPool for asynchronous parallel execution on a defined number of
36 class ThreadPool {
52 ThreadPool();
55 ThreadPool(unsigned ThreadCount);
58 ~ThreadPool();
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
31 /// A ThreadPool for asynchronous parallel execution on a defined number of
36 class ThreadPool {
52 ThreadPool();
55 ThreadPool(unsigned ThreadCount);
58 ~ThreadPool();
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
31 /// A ThreadPool for asynchronous parallel execution on a defined number of
36 class ThreadPool {
52 ThreadPool();
55 ThreadPool(unsigned ThreadCount);
58 ~ThreadPool();
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
31 /// A ThreadPool for asynchronous parallel execution on a defined number of
36 class ThreadPool {
52 ThreadPool();
55 ThreadPool(unsigned ThreadCount);
58 ~ThreadPool();
  /art/runtime/
thread_pool.cc 41 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name,
105 void ThreadPool::AddTask(Thread* self, Task* task) {
114 void ThreadPool::RemoveAllTasks(Thread* self) {
119 ThreadPool::ThreadPool(const char* name, size_t num_threads, bool create_peers)
144 void ThreadPool::SetMaxActiveWorkers(size_t threads) {
150 ThreadPool::~ThreadPool() {
164 void ThreadPool::StartWorkers(Thread* self) {
172 void ThreadPool::StopWorkers(Thread* self)
    [all...]
thread_pool.h 29 class ThreadPool;
68 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);
72 ThreadPool* const thread_pool_;
79 friend class ThreadPool;
84 class ThreadPool {
113 ThreadPool(const char* name, size_t num_threads, bool create_peers = false);
114 virtual ~ThreadPool();
118 // When the pool was created with peers for workers, do_work must not be true (see ThreadPool()).
173 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
  /libcore/ojluni/src/main/java/sun/nio/ch/
ThreadPool.java 37 public class ThreadPool {
52 private ThreadPool(ExecutorService executor,
94 final static ThreadPool defaultThreadPool = createDefault();
98 static ThreadPool getDefault() {
103 static ThreadPool createDefault() {
114 return new ThreadPool(executor, false, initialSize);
118 static ThreadPool create(int nThreads, ThreadFactory factory) {
122 return new ThreadPool(executor, true, nThreads);
126 public static ThreadPool wrap(ExecutorService executor, int initialSize) {
145 return new ThreadPool(executor, false, initialSize)
    [all...]
  /frameworks/wilhelm/src/
ThreadPool.h 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
    [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++));
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorDeviceThreadPool.h 19 typedef NonBlockingThreadPool ThreadPool;
22 typedef SimpleThreadPool ThreadPool;
  /external/python/cpython2/Lib/multiprocessing/
pool.py 722 class ThreadPool(Pool):
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
ThreadPool.java 26 public class ThreadPool {
28 private static final String TAG = "ThreadPool";
83 public ThreadPool() {
87 public ThreadPool(int initPoolSize, int maxPoolSize) {
  /prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/
pool.py 709 class ThreadPool(Pool):
  /prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/
pool.py 709 class ThreadPool(Pool):
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
pool.py 709 class ThreadPool(Pool):
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
pool.py 709 class ThreadPool(Pool):
  /external/valgrind/drd/tests/
tsan_thread_wrappers_pthread.h 490 ThreadPool pool(n_workers);
497 // the ~ThreadPool() is called: we wait workers to finish
501 class ThreadPool {
504 explicit ThreadPool(int n_threads)
507 MyThread *thread = new MyThread(&ThreadPool::Worker, this);
527 ~ThreadPool() {
541 ThreadPool *pool = reinterpret_cast<ThreadPool*>(p);

Completed in 556 milliseconds

1 2