diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-11-29 13:24:55 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-11-29 13:25:45 +0000 |
commit | 97b888e9a890b3af4cade6f33de13f1f04ad96fd (patch) | |
tree | aad36780514f9a4282c4c4db94fd3c132cc216d5 /staging_vespalib | |
parent | b9fe86b6f81c4da88a0d5db9abc000849ab3e296 (diff) |
Add a wakeup service
Diffstat (limited to 'staging_vespalib')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h b/staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h index 0e931838279..3fe6fb5d678 100644 --- a/staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h +++ b/staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h @@ -14,7 +14,7 @@ namespace vespalib { * Interface class to run multiple tasks in parallel, but tasks with same * id has to be run in sequence. */ -class ISequencedTaskExecutor +class ISequencedTaskExecutor : public vespalib::IWakeup { public: class ExecutorId { @@ -62,7 +62,7 @@ public: /** * Call this one to ensure you get the attention of the workers. */ - virtual void wakeup() { } + void wakeup() override { } /** * Wrap lambda function into a task and schedule it to be run. |