From 1a325193b0fbf0cdbe57834c763718a854e2a84b Mon Sep 17 00:00:00 2001 From: surtur Date: Sun, 2 Jan 2022 07:13:12 +0100 Subject: [PATCH] accumulator: add prototypes of service methods --- accumulator.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/accumulator.h b/accumulator.h index a89baf3..9c405c5 100644 --- a/accumulator.h +++ b/accumulator.h @@ -53,6 +53,16 @@ public: auto wait_for(uint milliseconds) -> void; + // spawns the entropy_collector_service and pools_service threads + auto accumulator_service() -> int; + + // a long lived thread collecting entropy + // listens on a unix socket, receives events + auto entropy_collector_service() -> int; + + auto pools_service() -> int; + + Accumulator(); ~Accumulator() noexcept;