Home
last modified time | relevance | path

Searched refs:threads_ (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_mac.cc33 SuspendedThreadsListMac() : threads_(1024) {} in SuspendedThreadsListMac()
46 InternalMmapVector<SuspendedThreadInfo> threads_; member in __sanitizer::SuspendedThreadsListMac
112 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()
H A Dsanitizer_thread_registry.cc117 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 …]
H A Dsanitizer_thread_registry.h99 return threads_[tid]; in GetThreadLocked()
143 ThreadContextBase **threads_; // Array of thread contexts is leaked. variable
/freebsd-12.1/sys/contrib/zstd/contrib/pzstd/utils/
H A DThreadPool.h21 std::vector<std::thread> threads_; variable
28 threads_.reserve(numThreads); in ThreadPool()
30 threads_.emplace_back([this] { in ThreadPool()
42 for (auto& thread : threads_) { in ~ThreadPool()