Lines Matching refs:ThreadPool
49 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker()
142 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
151 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
162 ThreadPool::ThreadPool(const char* name, in ThreadPool() function in art::ThreadPool
182 void ThreadPool::CreateThreads() { in CreateThreads()
199 void ThreadPool::WaitForWorkersToBeCreated() { in WaitForWorkersToBeCreated()
203 const std::vector<ThreadPoolWorker*>& ThreadPool::GetWorkers() { in GetWorkers()
209 void ThreadPool::DeleteThreads() { in DeleteThreads()
225 void ThreadPool::SetMaxActiveWorkers(size_t max_workers) { in SetMaxActiveWorkers()
231 ThreadPool::~ThreadPool() { in ~ThreadPool()
236 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
244 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
249 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
281 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
286 Task* ThreadPool::TryGetTaskLocked() { in TryGetTaskLocked()
295 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait()
315 size_t ThreadPool::GetTaskCount(Thread* self) { in GetTaskCount()
320 void ThreadPool::SetPthreadPriority(int priority) { in SetPthreadPriority()
326 void ThreadPool::CheckPthreadPriority(int priority) { in CheckPthreadPriority()