}
job->sub (_("Encoding image data"));
+}
- /* Do this last; if something after this line were to throw an exception
- (say if Job::sub was interrupted by cancel) this thread would never
- get properly cleaned up but the Writer object would go away underneath
- it.
- */
+void
+Writer::start ()
+{
_thread = new boost::thread (boost::bind (&Writer::thread, this));
}
Writer (boost::shared_ptr<const Film>, boost::weak_ptr<Job>);
~Writer ();
+ void start ();
+
bool can_fake_write (int) const;
void write (Data, int, Eyes);