summaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/i_shared_threading_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/i_shared_threading_service.h')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/i_shared_threading_service.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/i_shared_threading_service.h b/searchcore/src/vespa/searchcore/proton/server/i_shared_threading_service.h
index 9cd19012223..dfa48cb8d1a 100644
--- a/searchcore/src/vespa/searchcore/proton/server/i_shared_threading_service.h
+++ b/searchcore/src/vespa/searchcore/proton/server/i_shared_threading_service.h
@@ -4,6 +4,7 @@
namespace vespalib {
class ISequencedTaskExecutor;
class ThreadExecutor;
+class InvokeService;
}
namespace proton {
@@ -38,6 +39,11 @@ public:
* TODO: Make this a reference when it is always shared.
*/
virtual vespalib::ISequencedTaskExecutor* field_writer() = 0;
+
+ /**
+ * Returns an InvokeService intended for regular wakeup calls.
+ */
+ virtual vespalib::InvokeService & invokeService() = 0;
};
}