pot/merge.
[dcpomatic.git] / src / lib / job.h
index 0e57021e0c1cafbcc545c2502a94d7462f2c9834..a0e988fc8ccd11df26983127e347691da43cd2f2 100644 (file)
@@ -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<const Film> _film;
 
@@ -120,7 +121,7 @@ private:
        void run_wrapper ();
        void set_progress_common (boost::optional<float> p);
 
-       boost::thread* _thread;
+       boost::thread _thread;
 
        /** mutex for _state, _error*, _message */
        mutable boost::mutex _state_mutex;