Lines Matching refs:threads_
126 *total = threads_.size(); in GetNumberOfThreads()
143 } else if (threads_.size() < max_threads_) { in CreateThread()
145 tid = threads_.size(); in CreateThread()
147 threads_.push_back(tctx); in CreateThread()
181 for (u32 tid = 0; tid < threads_.size(); tid++) { in RunCallbackForEachThreadLocked()
182 ThreadContextBase *tctx = threads_[tid]; in RunCallbackForEachThreadLocked()
191 for (u32 tid = 0; tid < threads_.size(); tid++) { in FindThread()
192 ThreadContextBase *tctx = threads_[tid]; in FindThread()
202 for (u32 tid = 0; tid < threads_.size(); tid++) { in FindThreadContextLocked()
203 ThreadContextBase *tctx = threads_[tid]; in FindThreadContextLocked()
223 ThreadContextBase *tctx = threads_[tid]; in SetThreadName()
233 threads_[tid->second]->SetName(name); in SetThreadNameByUserId()
238 ThreadContextBase *tctx = threads_[tid]; in DetachThread()
260 ThreadContextBase *tctx = threads_[tid]; in JoinThread()
287 ThreadContextBase *tctx = threads_[tid]; in FinishThread()
314 ThreadContextBase *tctx = threads_[tid]; in StartThread()
351 auto *tctx = threads_[tid]; in ConsumeThreadUserId()
359 ThreadContextBase *tctx = threads_[tid]; in SetThreadUserId()
375 for (auto *tctx : threads_) { in OnFork()