Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomParsing/ParsedDicomCache.h @ 4458:e4dae17035b9
fix ParsedDicomCache for emscripten
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Jan 2021 12:43:44 +0100 |
parents | 789676a8c96a |
children | 83a6a84ba9df |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/ParsedDicomCache.h Tue Jan 19 19:05:04 2021 +0100 +++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomCache.h Wed Jan 20 12:43:44 2021 +0100 @@ -32,7 +32,10 @@ private: class Item; +#if !defined(__EMSCRIPTEN__) boost::mutex mutex_; +#endif + size_t cacheSize_; std::unique_ptr<MemoryObjectCache> cache_; std::unique_ptr<ParsedDicomFile> largeDicom_; @@ -55,7 +58,10 @@ class Accessor : public boost::noncopyable { private: +#if !defined(__EMSCRIPTEN__) boost::mutex::scoped_lock lock_; +#endif + std::string id_; ParsedDicomFile* file_; size_t fileSize_;