Mercurial > hg > orthanc
comparison Core/MultiThreading/RunnableWorkersPool.h @ 2223:29689b30f9ae
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Dec 2016 15:28:05 +0100 |
parents | b1291df2f780 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2222:21713ce8717b | 2223:29689b30f9ae |
---|---|
45 boost::shared_ptr<PImpl> pimpl_; | 45 boost::shared_ptr<PImpl> pimpl_; |
46 | 46 |
47 void Stop(); | 47 void Stop(); |
48 | 48 |
49 public: | 49 public: |
50 RunnableWorkersPool(size_t countWorkers); | 50 explicit RunnableWorkersPool(size_t countWorkers); |
51 | 51 |
52 ~RunnableWorkersPool(); | 52 ~RunnableWorkersPool(); |
53 | 53 |
54 void Add(IRunnableBySteps* runnable); // Takes the ownership | 54 void Add(IRunnableBySteps* runnable); // Takes the ownership |
55 }; | 55 }; |