X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fjob.h;h=a0e988fc8ccd11df26983127e347691da43cd2f2;hb=0877bf6d06de8e6f768534ec40c26bf629618a20;hp=0e57021e0c1cafbcc545c2502a94d7462f2c9834;hpb=63bce67bd548f4aff98e2a1963e1fd77a6412a15;p=dcpomatic.git diff --git a/src/lib/job.h b/src/lib/job.h index 0e57021e0..a0e988fc8 100644 --- a/src/lib/job.h +++ b/src/lib/job.h @@ -112,6 +112,7 @@ protected: void set_message (std::string m); int elapsed_sub_time () const; void check_for_interruption_or_pause (); + void stop_thread (); boost::shared_ptr _film; @@ -120,7 +121,7 @@ private: void run_wrapper (); void set_progress_common (boost::optional p); - boost::thread* _thread; + boost::thread _thread; /** mutex for _state, _error*, _message */ mutable boost::mutex _state_mutex;