Protect _threads with a mutex since it may be updated from
authorCarl Hetherington <cth@carlh.net>
Tue, 1 Sep 2015 09:27:27 +0000 (10:27 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 1 Sep 2015 09:27:27 +0000 (10:27 +0100)
commitc5c005aec1393fc606db035ee71b8d831c370ab1
tree8c0b17799e13cdb2365c88695538e216419130f2
parentedf4af070a9ffa0a13f9078f5509c1e64121564a
Protect _threads with a mutex since it may be updated from
the GUI thread (via ServersChanged) or from the job thread
(via end ()).
src/lib/encoder.cc
src/lib/encoder.h