Remove some flawed condition manipulation.
authorCarl Hetherington <cth@carlh.net>
Tue, 7 Jun 2016 15:05:43 +0000 (16:05 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 7 Jun 2016 15:05:43 +0000 (16:05 +0100)
commit538af3d961b5017303cedb56fa35c9be23d1658a
tree5e1edb101585afa4e6bba75a9e2b7b49ffc00406
parent2860640c7cf39410bfb21f69ce05e345e9078fa3
Remove some flawed condition manipulation.

I think this stuff is unnecessary as wait() is interruptible
by boost::thread::interrupt.  Hence instead of setting a flag
then signalling the condition we can just do interrupt(), the
exception will be thrown and that's that.
src/lib/encoder.cc
src/lib/encoder.h
src/wx/job_view.cc