We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b671e commit dac2122Copy full SHA for dac2122
cloud/storage/core/libs/common/thread_pool.cpp
@@ -82,13 +82,13 @@ class TThreadPool final
82
, SpinCycles(DurationToCyclesSafe(SPIN_TIMEOUT))
83
, MemoryTagScope(std::move(memoryTagScope))
84
, Workers(numWorkers)
85
+ , RunningWorkers(NumWorkers)
86
{
87
size_t i = 1;
88
for (auto& worker: Workers) {
89
worker.Name = TStringBuilder() << threadName << i++;
90
worker.Thread = std::make_unique<TWorkerThread>(*this, worker);
91
}
- AtomicSet(RunningWorkers, NumWorkers);
92
93
94
~TThreadPool() override
0 commit comments