Lines Matching refs:ThreadPool
43 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker()
113 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
122 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
127 ThreadPool::ThreadPool(const char* name, in ThreadPool() function in art::ThreadPool
147 void ThreadPool::CreateThreads() { in CreateThreads()
164 void ThreadPool::WaitForWorkersToBeCreated() { in WaitForWorkersToBeCreated()
168 const std::vector<ThreadPoolWorker*>& ThreadPool::GetWorkers() { in GetWorkers()
174 void ThreadPool::DeleteThreads() { in DeleteThreads()
190 void ThreadPool::SetMaxActiveWorkers(size_t max_workers) { in SetMaxActiveWorkers()
196 ThreadPool::~ThreadPool() { in ~ThreadPool()
200 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
208 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
213 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
245 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
250 Task* ThreadPool::TryGetTaskLocked() { in TryGetTaskLocked()
259 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait()
279 size_t ThreadPool::GetTaskCount(Thread* self) { in GetTaskCount()
284 void ThreadPool::SetPthreadPriority(int priority) { in SetPthreadPriority()