MCPcopy Create free account
hub / github.com/cculianu/Fulcrum / maxThreadCount

Method maxThreadCount

src/ThreadPool.cpp:144–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142uint64_t ThreadPool::numJobsSubmitted() const noexcept { return ctr.load(); }
143uint64_t ThreadPool::overflows() const noexcept { return noverflows.load(); }
144int ThreadPool::maxThreadCount() const noexcept { return pool->maxThreadCount(); }
145bool ThreadPool::setMaxThreadCount(int max) {
146 if (max < 1)
147 return false;

Callers 2

parseArgsMethod · 0.80
setMaxThreadCountMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected