Searched defs:ThreadPool (Results 1 - 16 of 16) sorted by relevance

/external/llvm/lib/Support/
H A DThreadPool.cpp1 //==-- llvm/Support/ThreadPool.cpp - A ThreadPool implementation -*- C++ -*-==//
14 #include "llvm/Support/ThreadPool.h"
24 ThreadPool::ThreadPool() : ThreadPool(std::thread::hardware_concurrency()) {} function in class:ThreadPool
26 ThreadPool::ThreadPool(unsigned ThreadCount) function in class:ThreadPool
63 // Adjust `ActiveThreads`, in case someone waits on ThreadPool::wait()
68 // Notify task completion, in case someone waits on ThreadPool
[all...]
/external/opencv3/3rdparty/openexr/IlmThread/
H A DIlmThreadPool.h40 // 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 class in namespace:IlmThread
78 ThreadPool (unsigned numThreads = 0);
86 virtual ~ThreadPool ();
102 // Add a task for processing. The ThreadPool ca
[all...]
H A DIlmThreadPool.cpp37 // 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):
211 // struct ThreadPool::Data
214 ThreadPool::Data::Data (): numTasks (0), numThreads (0), stopping (false)
220 ThreadPool::Data::~Data()
228 ThreadPool::Data::finish ()
272 ThreadPool
327 ThreadPool::ThreadPool (unsigned nthreads): function in class:IlmThread::ThreadPool
[all...]
/external/llvm/include/llvm/Support/
H A DThreadPool.h1 //===-- llvm/Support/ThreadPool.h - A ThreadPool implementation -*- C++ -*-===//
45 /// A ThreadPool for asynchronous parallel execution on a defined number of
50 class ThreadPool { class in namespace:llvm
66 ThreadPool();
69 ThreadPool(unsigned ThreadCount);
72 ~ThreadPool();
/external/opencv3/samples/python2/
H A Dasift.py27 from multiprocessing.pool import ThreadPool namespace
74 ThreadPool object may be passed to speedup the computation.
137 pool=ThreadPool(processes = cv2.getNumberOfCPUs())
H A Dgabor_threads.py19 from multiprocessing.pool import ThreadPool namespace
42 pool = ThreadPool(processes=threadn)
H A Ddigits_adjust.py24 from multiprocessing.pool import ThreadPool namespace
95 pool = ThreadPool(processes=cv2.getNumberOfCPUs())
H A Dvideo_threaded.py22 from multiprocessing.pool import ThreadPool namespace
56 pool = ThreadPool(processes = threadn)
H A Ddigits.py27 from multiprocessing.pool import ThreadPool namespace
/external/skia/src/core/
H A DSkTaskGroup.cpp40 class ThreadPool : SkNoncopyable { class in namespace:__anon16860
99 explicit ThreadPool(int threads) { function in class:__anon16860::ThreadPool
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
[all...]
/external/jetty/src/java/org/eclipse/jetty/util/thread/
H A DThreadPool.java24 /** ThreadPool.
28 public interface ThreadPool interface
60 public interface SizedThreadPool extends ThreadPool
/external/valgrind/drd/tests/
H A Dtsan_thread_wrappers_pthread.h490 ThreadPool pool(n_workers);
497 // the ~ThreadPool() is called: we wait workers to finish
501 class ThreadPool { class
504 explicit ThreadPool(int n_threads) function in class:ThreadPool
507 MyThread *thread = new MyThread(&ThreadPool::Worker, this);
527 ~ThreadPool() {
541 ThreadPool *pool = reinterpret_cast<ThreadPool*>(p);
/external/chromium-trace/catapult/third_party/Paste/paste/
H A Dhttpserver.py529 class ThreadPool(object): class in inherits:object
579 self, nworkers, name="ThreadPool", daemon=False,
600 logger = logging.getLogger('paste.httpserver.ThreadPool')
692 described in the ThreadPool docstring).
884 if runnable is ThreadPool.SHUTDOWN:
942 self.queue.put(ThreadPool.SHUTDOWN)
1020 "An error has occurred in the paste.httpserver.ThreadPool\n"
1051 self.thread_pool = ThreadPool(
1262 threadpool. See paste.httpserver.ThreadPool for specific
/external/guice/extensions/struts2/lib/
H A Djetty-util-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/mortbay/util/ org/mortbay/util/ajax/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.mortbay.jetty.util_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/jetty/lib/
H A Djetty-util-6.1.26.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/mortbay/util/ org/mortbay/util/ajax/ ...

Completed in 430 milliseconds