Lines Matching refs:ThreadPool
42 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker()
109 void ThreadPool::AddTask(Thread* self, Task* task) { in AddTask()
118 void ThreadPool::RemoveAllTasks(Thread* self) { in RemoveAllTasks()
123 ThreadPool::ThreadPool(const char* name, size_t num_threads, bool create_peers) in ThreadPool() function in art::ThreadPool
148 void ThreadPool::SetMaxActiveWorkers(size_t threads) { in SetMaxActiveWorkers()
154 ThreadPool::~ThreadPool() { in ~ThreadPool()
168 void ThreadPool::StartWorkers(Thread* self) { in StartWorkers()
176 void ThreadPool::StopWorkers(Thread* self) { in StopWorkers()
181 Task* ThreadPool::GetTask(Thread* self) { in GetTask()
213 Task* ThreadPool::TryGetTask(Thread* self) { in TryGetTask()
218 Task* ThreadPool::TryGetTaskLocked() { in TryGetTaskLocked()
227 void ThreadPool::Wait(Thread* self, bool do_work, bool may_hold_locks) { in Wait()
247 size_t ThreadPool::GetTaskCount(Thread* self) { in GetTaskCount()
252 void ThreadPool::SetPthreadPriority(int priority) { in SetPthreadPriority()