diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-25 23:50:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-25 23:50:30 +0100 |
| commit | c380909d3dcac0809dbeedc6240c33d37118296d (patch) | |
| tree | e2cfb6ef93628c210837bad44ad82f76d6ad0079 /src/lib/active_text.h | |
| parent | c252bea0407deedad31c67ab7dd5de4890cafd53 (diff) | |
Add believed-necessary locking to ActiveText.
Diffstat (limited to 'src/lib/active_text.h')
| -rw-r--r-- | src/lib/active_text.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/active_text.h b/src/lib/active_text.h index 10ce30f08..1dab7a867 100644 --- a/src/lib/active_text.h +++ b/src/lib/active_text.h @@ -25,6 +25,7 @@ #include "dcpomatic_time.h" #include "player_text.h" #include <boost/noncopyable.hpp> +#include <boost/thread/mutex.hpp> #include <list> #include <map> @@ -64,5 +65,6 @@ private: void add (DCPTimePeriod period, std::list<PlayerText>& pc, std::list<Period> p) const; + mutable boost::mutex _mutex; Map _data; }; |
