summaryrefslogtreecommitdiff
path: root/src/lib/encode_server.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-17 00:57:54 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-17 00:57:54 +0100
commitc3ce1bf707fb5308f4b96cb96ed6e8d29335a319 (patch)
tree5dcf2fefc25e53201b5a3f98d41772b03f0051d4 /src/lib/encode_server.h
parentfa85cc6352a2f25bdd1d4421c9490f9fca266e04 (diff)
Keep Waker around for longer so it works better (#2184).
Diffstat (limited to 'src/lib/encode_server.h')
-rw-r--r--src/lib/encode_server.h8
1 files changed, 5 insertions, 3 deletions
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 <boost/thread.hpp>
+#include "server.h"
#include <boost/asio.hpp>
+#include <boost/thread.hpp>
#include <boost/thread/condition.hpp>
#include <string>
-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 {