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

/art/runtime/
H A Dthread_pool.cc42 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name,
109 void ThreadPool::AddTask(Thread* self, Task* task) {
118 void ThreadPool::RemoveAllTasks(Thread* self) {
123 ThreadPool::ThreadPool(const char* name, size_t num_threads, bool create_peers) function in class:art::ThreadPool
148 void ThreadPool::SetMaxActiveWorkers(size_t threads) {
154 ThreadPool::~ThreadPool() {
168 void ThreadPool::StartWorkers(Thread* self) {
176 void ThreadPool
[all...]
H A Dthread_pool.h29 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 { class in namespace:art
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);

Completed in 231 milliseconds