MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / ~PoolThreads

Method ~PoolThreads

MonaBase/include/Mona/PoolThreads.h:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 for(UInt16 i=0;i<threadsAvailable;++i) _threads.emplace_back(new PoolThread());
35 }
36 virtual ~PoolThreads() {
37 for(PoolThread* pThread : _threads) delete pThread;
38 }
39
40 void join() { for(PoolThread* pThread : _threads) pThread->join(); }
41 UInt32 threadsAvailable() const { return _threads.size(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected