Mercurial > hg > orthanc-stone
diff Framework/Toolbox/DownloadStack.h @ 53:c2dc924f1a63 wasm
removing threading out of the framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Apr 2017 16:57:49 +0200 |
parents | 28956ed68280 |
children | 4a541cd4fa83 |
line wrap: on
line diff
--- a/Framework/Toolbox/DownloadStack.h Thu Apr 27 14:50:40 2017 +0200 +++ b/Framework/Toolbox/DownloadStack.h Thu Apr 27 16:57:49 2017 +0200 @@ -23,7 +23,8 @@ #include <vector> #include <boost/noncopyable.hpp> -#include <boost/thread/mutex.hpp> + +#include <boost/thread/mutex.hpp> // TODO remove namespace OrthancStone { @@ -40,7 +41,6 @@ bool dequeued_; }; - boost::mutex mutex_; std::vector<Node> nodes_; int firstNode_; @@ -63,8 +63,8 @@ public: Writer(DownloadStack& that) : - that_(that), - lock_(that.mutex_) + that_(that) + //lock_(that.mutex_) { }