Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
2590:5e2730c8e23c | 2591:441f23af9d89 |
---|---|
48 State_Running, | 48 State_Running, |
49 State_Stopping, | 49 State_Stopping, |
50 State_Done | 50 State_Done |
51 }; | 51 }; |
52 | 52 |
53 boost::mutex stateMutex_; | 53 boost::mutex stateMutex_; |
54 State state_; | 54 State state_; |
55 JobsRegistry registry_; | 55 JobsRegistry registry_; |
56 boost::thread retryHandler_; | 56 boost::thread retryHandler_; |
57 std::vector<boost::thread> workers_; | 57 std::vector<boost::thread*> workers_; |
58 | 58 |
59 bool IsRunning(); | 59 bool IsRunning(); |
60 | 60 |
61 bool ExecuteStep(JobsRegistry::RunningJob& running, | 61 bool ExecuteStep(JobsRegistry::RunningJob& running, |
62 size_t workerIndex); | 62 size_t workerIndex); |