X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fserver.h;h=e2e1d46eca0f34f3748f708787b34437f1dc8402;hb=04eebe07e2f64bd15f6887a10ab51fb92c52901a;hp=9f3e99f9cbe577c20c7c07bedccbe0d7298f8c07;hpb=e6c67f4aac2ca9afc275b6f13058e1e46f2cecc3;p=dcpomatic.git diff --git a/src/lib/server.h b/src/lib/server.h index 9f3e99f9c..e2e1d46ec 100644 --- a/src/lib/server.h +++ b/src/lib/server.h @@ -107,16 +107,14 @@ private: std::vector _worker_threads; std::list > _queue; boost::mutex _worker_mutex; - boost::condition _worker_condition; - + boost::condition _full_condition; + boost::condition _empty_condition; boost::shared_ptr _log; bool _verbose; boost::asio::io_service _io_service; boost::asio::ip::tcp::acceptor _acceptor; - int _num_threads; - struct Broadcast { Broadcast ()