MCPcopy Create free account
hub / github.com/MikeLankamp/fpm / ThreadManager

Method ThreadManager

3rdparty/googlebench/src/thread_manager.h:14–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12class ThreadManager {
13 public:
14 ThreadManager(int num_threads)
15 : alive_threads_(num_threads), start_stop_barrier_(num_threads) {}
16
17 Mutex& GetBenchmarkMutex() const RETURN_CAPABILITY(benchmark_mutex_) {
18 return benchmark_mutex_;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected