Lines Matching refs:ThreadPool
29 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker()
69 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
78 ThreadPool::ThreadPool(const char* name, size_t num_threads) in ThreadPool() function in art::ThreadPool
101 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers()
107 ThreadPool::~ThreadPool() { in ~ThreadPool()
121 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
129 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
134 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
166 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
171 Task* ThreadPool::TryGetTaskLocked() { in TryGetTaskLocked()
180 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait()
199 size_t ThreadPool::GetTaskCount(Thread* self) { in GetTaskCount()
204 WorkStealingWorker::WorkStealingWorker(ThreadPool* thread_pool, const std::string& name, in WorkStealingWorker()
280 : ThreadPool(name, 0), in WorkStealingThreadPool()