Lines Matching refs:ThreadPool
43 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker()
120 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
129 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
140 ThreadPool::ThreadPool(const char* name, in ThreadPool() function in art::ThreadPool
160 void ThreadPool::CreateThreads() { in CreateThreads()
177 void ThreadPool::WaitForWorkersToBeCreated() { in WaitForWorkersToBeCreated()
181 const std::vector<ThreadPoolWorker*>& ThreadPool::GetWorkers() { in GetWorkers()
187 void ThreadPool::DeleteThreads() { in DeleteThreads()
203 void ThreadPool::SetMaxActiveWorkers(size_t max_workers) { in SetMaxActiveWorkers()
209 ThreadPool::~ThreadPool() { in ~ThreadPool()
214 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
222 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
227 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
259 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
264 Task* ThreadPool::TryGetTaskLocked() { in TryGetTaskLocked()
273 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait()
293 size_t ThreadPool::GetTaskCount(Thread* self) { in GetTaskCount()
298 void ThreadPool::SetPthreadPriority(int priority) { in SetPthreadPriority()