MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / TaskPool

Method TaskPool

engine/Poseidon/Core/TaskPool.cpp:78–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76} // namespace
77
78TaskPool::TaskPool(uint32_t threadCount) : _scheduler(std::make_unique<enki::TaskScheduler>())
79{
80 if (threadCount == 0)
81 {
82 _scheduler->Initialize();
83 }
84 else
85 {
86 _scheduler->Initialize(threadCount);
87 }
88}
89
90TaskPool::~TaskPool()
91{

Callers

nothing calls this directly

Calls 1

InitializeMethod · 0.45

Tested by

no test coverage detected