Searched refs:ThreadPoolWorker (Results 1 – 3 of 3) sorted by relevance
43 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() function in art::ThreadPoolWorker70 ThreadPoolWorker::~ThreadPoolWorker() { in ~ThreadPoolWorker()74 void ThreadPoolWorker::SetPthreadPriority(int priority) { in SetPthreadPriority()87 void ThreadPoolWorker::Run() { in Run()97 void* ThreadPoolWorker::Callback(void* arg) { in Callback()98 ThreadPoolWorker* worker = reinterpret_cast<ThreadPoolWorker*>(arg); in Callback()172 new ThreadPoolWorker(this, worker_name, worker_stack_size_)); in CreateThreads()181 const std::vector<ThreadPoolWorker*>& ThreadPool::GetWorkers() { in GetWorkers()299 for (ThreadPoolWorker* worker : threads_) { in SetPthreadPriority()
75 class ThreadPoolWorker {84 virtual ~ThreadPoolWorker();92 ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, size_t stack_size);104 DISALLOW_COPY_AND_ASSIGN(ThreadPoolWorker);115 const std::vector<ThreadPoolWorker*>& GetWorkers();138 size_t worker_stack_size = ThreadPoolWorker::kDefaultStackSize);195 std::vector<ThreadPoolWorker*> threads_;205 friend class ThreadPoolWorker;
1871 for (ThreadPoolWorker* worker : parallel_thread_pool_->GetWorkers()) { in Verify()1895 for (ThreadPoolWorker* worker : parallel_thread_pool_->GetWorkers()) { in Verify()