Lines Matching refs:worker
120 ThreadPoolWorker* worker = reinterpret_cast<ThreadPoolWorker*>(arg); in Callback() local
123 worker->name_.c_str(), in Callback()
131 worker->thread_pool_->create_peers_ ? runtime->GetSystemThreadGroup() : nullptr, in Callback()
132 worker->thread_pool_->create_peers_)); in Callback()
133 worker->thread_ = Thread::Current(); in Callback()
135 worker->thread_->SetIsRuntimeThread(true); in Callback()
137 worker->Run(); in Callback()
321 for (ThreadPoolWorker* worker : threads_) { in SetPthreadPriority()
322 worker->SetPthreadPriority(priority); in SetPthreadPriority()
328 for (ThreadPoolWorker* worker : threads_) { in CheckPthreadPriority()
329 CHECK_EQ(worker->GetPthreadPriority(), priority); in CheckPthreadPriority()