Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.h @ 1129:8dabdc0d3007
fix possible deadlock
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 08 Sep 2014 15:47:53 +0200 |
parents | bf67431a7383 |
children | 382e162c074c |
comparison
equal
deleted
inserted
replaced
1128:514492f61ead | 1129:8dabdc0d3007 |
---|---|
95 class DicomCacheLocker : public boost::noncopyable | 95 class DicomCacheLocker : public boost::noncopyable |
96 { | 96 { |
97 private: | 97 private: |
98 ServerContext& that_; | 98 ServerContext& that_; |
99 ParsedDicomFile *dicom_; | 99 ParsedDicomFile *dicom_; |
100 boost::mutex::scoped_lock lock_; | |
100 | 101 |
101 public: | 102 public: |
102 DicomCacheLocker(ServerContext& that, | 103 DicomCacheLocker(ServerContext& that, |
103 const std::string& instancePublicId); | 104 const std::string& instancePublicId); |
104 | 105 |