/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/opencv3/3rdparty/openexr/IlmThread/ |
IlmThreadPool.h | 40 // class Task, class ThreadPool, class TaskGroup 42 // Class ThreadPool manages a set of worker threads and accepts 47 // a ThreadPool works on. Derived classes need to implement the 51 // of tasks. Every task that is added to a ThreadPool belongs to a 55 // Note: if you plan to use the ThreadPool interface in your own 56 // applications note that the implementation of the ThreadPool calls 69 class ThreadPool 78 ThreadPool (unsigned numThreads = 0); 86 virtual ~ThreadPool (); 102 // Add a task for processing. The ThreadPool can handle an [all...] |
IlmThreadPool.cpp | 37 // class Task, class ThreadPool, class TaskGroup 57 WorkerThread (ThreadPool::Data* data); 63 ThreadPool::Data * _data; 82 struct ThreadPool::Data 112 WorkerThread::WorkerThread (ThreadPool::Data* data): 193 // held by the threadpool. Therefore it is safe to access 211 // struct ThreadPool::Data 214 ThreadPool::Data::Data (): numTasks (0), numThreads (0), stopping (false) 220 ThreadPool::Data::~Data() 228 ThreadPool::Data::finish ( [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/thread/ |
ThreadPool.java | 24 /** ThreadPool. 28 public interface ThreadPool 60 public interface SizedThreadPool extends ThreadPool
|
/external/llvm/include/llvm/Support/ |
ThreadPool.h | 1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===// 45 /// A ThreadPool for asynchronous parallel execution on a defined number of 50 class ThreadPool { 66 ThreadPool(); 69 ThreadPool(unsigned ThreadCount); 72 ~ThreadPool();
|
/external/opencv3/samples/python2/ |
asift.py | 27 from multiprocessing.pool import ThreadPool 74 ThreadPool object may be passed to speedup the computation. 137 pool=ThreadPool(processes = cv2.getNumberOfCPUs())
|
gabor_threads.py | 19 from multiprocessing.pool import ThreadPool 42 pool = ThreadPool(processes=threadn)
|
digits_adjust.py | 24 from multiprocessing.pool import ThreadPool 95 pool = ThreadPool(processes=cv2.getNumberOfCPUs())
|
video_threaded.py | 22 from multiprocessing.pool import ThreadPool 56 pool = ThreadPool(processes = threadn)
|
digits.py | 27 from multiprocessing.pool import ThreadPool
|
/art/runtime/ |
thread_pool.cc | 36 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, 94 void ThreadPool::AddTask(Thread* self, Task* task) { 103 void ThreadPool::RemoveAllTasks(Thread* self) { 108 ThreadPool::ThreadPool(const char* name, size_t num_threads) 132 void ThreadPool::SetMaxActiveWorkers(size_t threads) { 138 ThreadPool::~ThreadPool() { 152 void ThreadPool::StartWorkers(Thread* self) { 160 void ThreadPool::StopWorkers(Thread* self) [all...] |
thread_pool.h | 29 class ThreadPool; 66 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size); 70 ThreadPool* const thread_pool_; 76 friend class ThreadPool; 80 class ThreadPool { 100 ThreadPool(const char* name, size_t num_threads); 101 virtual ~ThreadPool(); 153 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
|
/external/skia/src/core/ |
SkTaskGroup.cpp | 40 class ThreadPool : SkNoncopyable { 99 explicit ThreadPool(int threads) { 104 fThreads.push(new SkThread(&ThreadPool::Loop, this)); 109 ~ThreadPool() { 148 ThreadPool* pool = (ThreadPool*)arg; 186 static ThreadPool* gGlobal; 190 ThreadPool* ThreadPool::gGlobal = nullptr; 195 SkASSERT(ThreadPool::gGlobal == nullptr) [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
ThreadPool.java | 37 public class ThreadPool { 60 private ThreadPool(ExecutorService executor, 86 final static ThreadPool defaultThreadPool = createDefault(); 90 static ThreadPool getDefault() { 95 static ThreadPool createDefault() { 110 return new ThreadPool(executor, false, initialSize); 114 static ThreadPool create(int nThreads, ThreadFactory factory) { 118 return new ThreadPool(executor, true, nThreads); 122 public static ThreadPool wrap(ExecutorService executor, int initialSize) { 141 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++));
|
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 150 from multiprocessing.pool import ThreadPool 151 return ThreadPool(processes, initializer, initargs)
|
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 150 from multiprocessing.pool import ThreadPool 151 return ThreadPool(processes, initializer, initargs)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 150 from multiprocessing.pool import ThreadPool 151 return ThreadPool(processes, initializer, initargs)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/dummy/ |
__init__.py | 150 from multiprocessing.pool import ThreadPool 151 return ThreadPool(processes, initializer, initargs)
|
/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):
|