diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-07 10:23:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-07 10:23:47 +0000 |
| commit | 765a960ea8bb9d829d625901662f54c60f954f3d (patch) | |
| tree | 76678428e6e5f4532d525e4847ff903a9aa79a8a /src/transfer_function.h | |
| parent | 02279f7c2a7ab8ec8cc416da528bc53dcc8f2c9f (diff) | |
| parent | 038ae17545335e5d1b33746b0193e85ee9f584fe (diff) | |
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Diffstat (limited to 'src/transfer_function.h')
| -rw-r--r-- | src/transfer_function.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transfer_function.h b/src/transfer_function.h index 16d00c1a..4105f3d4 100644 --- a/src/transfer_function.h +++ b/src/transfer_function.h @@ -22,6 +22,7 @@ #include <boost/noncopyable.hpp> #include <boost/shared_ptr.hpp> +#include <boost/thread/mutex.hpp> #include <map> namespace dcp { @@ -43,8 +44,10 @@ protected: bool _inverse; -private: +private: mutable std::map<int, double*> _luts; + /** mutex to protect _luts */ + mutable boost::mutex _mutex; }; } |
