X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fjob_manager.h;fp=src%2Flib%2Fjob_manager.h;h=e0b72994df9dd2ab87495df0c6be3eb710afca2e;hb=63bce67bd548f4aff98e2a1963e1fd77a6412a15;hp=aafb7aa67aa8609ce8214ef2e500cbc6e62580af;hpb=620b7761a33d2e3641cd911bfe58e0fbb928c888;p=dcpomatic.git diff --git a/src/lib/job_manager.h b/src/lib/job_manager.h index aafb7aa67..e0b72994d 100644 --- a/src/lib/job_manager.h +++ b/src/lib/job_manager.h @@ -26,6 +26,7 @@ #include #include #include +#include #include class Job; @@ -78,10 +79,13 @@ private: void scheduler (); void start (); void priority_changed (); + void job_finished (); mutable boost::mutex _mutex; + boost::condition _empty_condition; /** List of jobs in the order that they will be executed */ std::list > _jobs; + std::list _connections; bool _terminate; bool _paused; boost::shared_ptr _paused_job;