Searched defs:ThreadPool (Results 1 - 2 of 2) sorted by relevance
/art/runtime/ |
H A D | thread_pool.cc | 42 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 D | 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 { 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