summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-14 16:11:29 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-14 16:11:29 +0100
commit5352daa4fa25f2ec3353ace953d23d9cb09f3549 (patch)
tree56d44e07e84ff5d689097b5b2829e9bd697702d9 /src/lib/content.h
parenta5a64cf04a5b87296abd2a04306a907767f02e56 (diff)
Tidy up content mutexes slightly.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index e3f559752..3c57dddbe 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -114,6 +114,10 @@ protected:
void signal_changed (int);
boost::weak_ptr<const Film> _film;
+
+ /** _mutex which should be used to protect accesses, as examine
+ jobs can update content state in threads other than the main one.
+ */
mutable boost::mutex _mutex;
private: