Lines Matching refs:worker
129 ThreadPoolWorker* worker = reinterpret_cast<ThreadPoolWorker*>(arg); in Callback() local
138 worker->name_.c_str(), in Callback()
146 worker->thread_pool_->create_peers_ ? runtime->GetSystemThreadGroup() : nullptr, in Callback()
147 worker->thread_pool_->create_peers_, in Callback()
149 worker->thread_ = Thread::Current(); in Callback()
151 worker->thread_->SetIsRuntimeThread(true); in Callback()
153 worker->Run(); in Callback()
350 for (ThreadPoolWorker* worker : threads_) { in SetPthreadPriority()
351 worker->SetPthreadPriority(priority); in SetPthreadPriority()
357 for (ThreadPoolWorker* worker : threads_) { in CheckPthreadPriority()
358 CHECK_EQ(worker->GetPthreadPriority(), priority); in CheckPthreadPriority()