Home
last modified time | relevance | path

Searched refs:ThreadPoolWorker (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dthread_pool.cc43 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, in ThreadPoolWorker() function in art::ThreadPoolWorker
70 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()
159 new ThreadPoolWorker(this, worker_name, worker_stack_size_)); in CreateThreads()
168 const std::vector<ThreadPoolWorker*>& ThreadPool::GetWorkers() { in GetWorkers()
285 for (ThreadPoolWorker* worker : threads_) { in SetPthreadPriority()
Dthread_pool.h75 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;
/art/dex2oat/driver/
Dcompiler_driver.cc1842 for (ThreadPoolWorker* worker : parallel_thread_pool_->GetWorkers()) { in Verify()
1866 for (ThreadPoolWorker* worker : parallel_thread_pool_->GetWorkers()) { in Verify()