Home
last modified time | relevance | path

Searched refs:alive_threads_ (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/third-party/benchmark/src/
H A Dthread_manager.h15 : alive_threads_(num_threads), start_stop_barrier_(num_threads) {} in ThreadManager()
27 if (--alive_threads_ == 0) { in NotifyThreadComplete()
36 [this]() { return alive_threads_ == 0; }); in WaitForAllThreads()
54 std::atomic<int> alive_threads_; variable
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_thread_registry.cpp115 alive_threads_(0), in ThreadRegistry()
128 if (alive) *alive = alive_threads_; in GetNumberOfThreads()
162 alive_threads_++; in CreateThread()
163 if (max_alive_threads_ < alive_threads_) { in CreateThread()
165 CHECK_EQ(alive_threads_, max_alive_threads_); in CreateThread()
285 CHECK_GT(alive_threads_, 0); in FinishThread()
286 alive_threads_--; in FinishThread()
381 return alive_threads_; in OnFork()
H A Dsanitizer_thread_registry.h151 uptr alive_threads_; // Created or running. variable