Lines Matching refs:ThreadPool
49 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker()
132 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
141 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
152 ThreadPool::ThreadPool(const char* name, in ThreadPool() function in art::ThreadPool
172 void ThreadPool::CreateThreads() { in CreateThreads()
189 void ThreadPool::WaitForWorkersToBeCreated() { in WaitForWorkersToBeCreated()
193 const std::vector<ThreadPoolWorker*>& ThreadPool::GetWorkers() { in GetWorkers()
199 void ThreadPool::DeleteThreads() { in DeleteThreads()
215 void ThreadPool::SetMaxActiveWorkers(size_t max_workers) { in SetMaxActiveWorkers()
221 ThreadPool::~ThreadPool() { in ~ThreadPool()
226 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
234 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
239 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
271 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
276 Task* ThreadPool::TryGetTaskLocked() { in TryGetTaskLocked()
285 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait()
305 size_t ThreadPool::GetTaskCount(Thread* self) { in GetTaskCount()
310 void ThreadPool::SetPthreadPriority(int priority) { in SetPthreadPriority()