Searched refs:ThreadPoolWorker (Results 1 – 3 of 3) sorted by relevance
49 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() function in art::ThreadPoolWorker82 ThreadPoolWorker::~ThreadPoolWorker() { in ~ThreadPoolWorker()86 void ThreadPoolWorker::SetPthreadPriority(int priority) { in SetPthreadPriority()99 void ThreadPoolWorker::Run() { in Run()109 void* ThreadPoolWorker::Callback(void* arg) { in Callback()110 ThreadPoolWorker* worker = reinterpret_cast<ThreadPoolWorker*>(arg); in Callback()184 new ThreadPoolWorker(this, worker_name, worker_stack_size_)); in CreateThreads()193 const std::vector<ThreadPoolWorker*>& ThreadPool::GetWorkers() { in GetWorkers()311 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;
1932 for (ThreadPoolWorker* worker : parallel_thread_pool_->GetWorkers()) { in Verify()1956 for (ThreadPoolWorker* worker : parallel_thread_pool_->GetWorkers()) { in Verify()