Mercurial > hg > orthanc
diff Core/JobsEngine/JobsEngine.h @ 2591:441f23af9d89 jobs
fix for older releases of boost::thread
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 May 2018 11:26:08 +0200 |
parents | 3372c5255333 |
children | 389d050a2e66 |
line wrap: on
line diff
--- a/Core/JobsEngine/JobsEngine.h Tue May 15 16:28:43 2018 +0200 +++ b/Core/JobsEngine/JobsEngine.h Wed May 16 11:26:08 2018 +0200 @@ -50,11 +50,11 @@ State_Done }; - boost::mutex stateMutex_; - State state_; - JobsRegistry registry_; - boost::thread retryHandler_; - std::vector<boost::thread> workers_; + boost::mutex stateMutex_; + State state_; + JobsRegistry registry_; + boost::thread retryHandler_; + std::vector<boost::thread*> workers_; bool IsRunning();