Searched defs:ThreadPool (Results 1 - 2 of 2) sorted by relevance
/art/runtime/ |
H A D | 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; 81 class ThreadPool { class in namespace:art 106 ThreadPool(const char* name, size_t num_threads, bool create_peers = false); 107 virtual ~ThreadPool(); 110 // When the pool was created with peers for workers, do_work must not be true (see ThreadPool()). 161 DISALLOW_COPY_AND_ASSIGN(ThreadPool);
|
H A D | thread_pool.cc | 36 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, 99 void ThreadPool::AddTask(Thread* self, Task* task) { 108 void ThreadPool::RemoveAllTasks(Thread* self) { 113 ThreadPool::ThreadPool(const char* name, size_t num_threads, bool create_peers) function in class:art::ThreadPool 138 void ThreadPool::SetMaxActiveWorkers(size_t threads) { 144 ThreadPool::~ThreadPool() { 158 void ThreadPool::StartWorkers(Thread* self) { 166 void ThreadPool [all...] |
Completed in 2747 milliseconds