Merge master.
[dcpomatic.git] / src / lib / server.h
index 9f3e99f9cbe577c20c7c07bedccbe0d7298f8c07..e2e1d46eca0f34f3748f708787b34437f1dc8402 100644 (file)
@@ -107,16 +107,14 @@ private:
        std::vector<boost::thread *> _worker_threads;
        std::list<boost::shared_ptr<Socket> > _queue;
        boost::mutex _worker_mutex;
-       boost::condition _worker_condition;
-       
+       boost::condition _full_condition;
+       boost::condition _empty_condition;
        boost::shared_ptr<Log> _log;
        bool _verbose;
 
        boost::asio::io_service _io_service;
        boost::asio::ip::tcp::acceptor _acceptor;
 
-       int _num_threads;
-
        struct Broadcast {
 
                Broadcast ()