From c3ce1bf707fb5308f4b96cb96ed6e8d29335a319 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 17 Feb 2022 00:57:54 +0100 Subject: Keep Waker around for longer so it works better (#2184). --- src/lib/encode_server.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/lib/encode_server.h') diff --git a/src/lib/encode_server.h b/src/lib/encode_server.h index 6e24a1984..0ca60f3f3 100644 --- a/src/lib/encode_server.h +++ b/src/lib/encode_server.h @@ -28,16 +28,17 @@ */ -#include "server.h" +#include "cross.h" #include "exception_store.h" -#include +#include "server.h" #include +#include #include #include -class Socket; class Log; +class Socket; /** @class EncodeServer @@ -65,6 +66,7 @@ private: boost::condition _empty_condition; bool _verbose; int _num_threads; + Waker _waker; struct Broadcast { -- cgit v1.2.3