summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-10-22 14:28:32 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-10-22 14:28:32 +0000
commite0e101daff1db918463976907a47ccbe57cc3d50 (patch)
tree48b24e872010c75d7c51175771ce0b593c892636
parentf0a46889a02d12bbb3ca40507a081c5ad45c7ac4 (diff)
Remove reset of idletracker in start() method as it is protected.
-rw-r--r--vespalib/src/vespa/vespalib/util/threadstackexecutorbase.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/util/threadstackexecutorbase.cpp b/vespalib/src/vespa/vespalib/util/threadstackexecutorbase.cpp
index 9e6456d2f56..133350f3d56 100644
--- a/vespalib/src/vespa/vespalib/util/threadstackexecutorbase.cpp
+++ b/vespalib/src/vespa/vespalib/util/threadstackexecutorbase.cpp
@@ -178,7 +178,6 @@ void
ThreadStackExecutorBase::start(uint32_t threads)
{
assert(threads > 0);
- _idleTracker.reset(steady_clock::now(), threads);
for (uint32_t i = 0; i < threads; ++i) {
FastOS_ThreadInterface *thread = _pool->NewThread(_thread_init.get());
assert(thread != nullptr);