Searched refs:threads_ (Results 1 – 4 of 4) sorted by relevance
33 SuspendedThreadsListMac() : threads_(1024) {} in SuspendedThreadsListMac()46 InternalMmapVector<SuspendedThreadInfo> threads_; member in __sanitizer::SuspendedThreadsListMac112 CHECK_LT(index, threads_.size()); in GetThreadID()113 return threads_[index].tid; in GetThreadID()117 CHECK_LT(index, threads_.size()); in GetThread()118 return threads_[index].thread; in GetThread()122 return threads_.size(); in ThreadCount()126 for (uptr i = 0; i < threads_.size(); i++) { in ContainsThread()127 if (threads_[i].thread == thread) return true; in ContainsThread()141 threads_.push_back({info.thread_id, thread}); in Append()
117 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]), in ThreadRegistry()147 threads_[tid] = tctx; in CreateThread()176 ThreadContextBase *tctx = threads_[tid]; in RunCallbackForEachThreadLocked()186 ThreadContextBase *tctx = threads_[tid]; in FindThread()197 ThreadContextBase *tctx = threads_[tid]; in FindThreadContextLocked()218 ThreadContextBase *tctx = threads_[tid]; in SetThreadName()228 ThreadContextBase *tctx = threads_[tid]; in SetThreadNameByUserId()240 ThreadContextBase *tctx = threads_[tid]; in DetachThread()287 ThreadContextBase *tctx = threads_[tid]; in FinishThread()311 ThreadContextBase *tctx = threads_[tid]; in StartThread()[all …]
99 return threads_[tid]; in GetThreadLocked()143 ThreadContextBase **threads_; // Array of thread contexts is leaked. variable
21 std::vector<std::thread> threads_; variable28 threads_.reserve(numThreads); in ThreadPool()30 threads_.emplace_back([this] { in ThreadPool()42 for (auto& thread : threads_) { in ~ThreadPool()