X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fserver.h;h=32ba8dc4b96757fe0d3938317e2fe1c0c9abff2b;hb=129afab72bfc026b5704c41a6bfc0f4b3a2c4033;hp=fac440a76134e3f90a308a2bea7fc8c7c458e7a3;hpb=c2709fbe5438da124b2d493cb714a6c58720cf5b;p=dcpomatic.git diff --git a/src/lib/server.h b/src/lib/server.h index fac440a76..32ba8dc4b 100644 --- a/src/lib/server.h +++ b/src/lib/server.h @@ -28,6 +28,8 @@ #include #include "log.h" +class Socket; + /** @class ServerDescription * @brief Class to describe a server to which we can send encoding work. */ @@ -80,10 +82,10 @@ public: private: void worker_thread (); - int process (boost::shared_ptr socket); - + int process (boost::shared_ptr socket); + std::vector _worker_threads; - std::list > _queue; + std::list > _queue; boost::mutex _worker_mutex; boost::condition _worker_condition; Log* _log;