Mercurial > hg > orthanc
diff OrthancServer/Scheduler/ServerScheduler.cpp @ 783:c9cdd53a6b31 lua-scripting
main scheduler added to the server context
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Apr 2014 18:36:20 +0200 |
parents | f0ac3a53ccf2 |
children | 8c67382f44a7 |
line wrap: on
line diff
--- a/OrthancServer/Scheduler/ServerScheduler.cpp Wed Apr 30 18:30:05 2014 +0200 +++ b/OrthancServer/Scheduler/ServerScheduler.cpp Wed Apr 30 18:36:20 2014 +0200 @@ -132,6 +132,8 @@ { static const int32_t TIMEOUT = 100; + LOG(WARNING) << "The server scheduler has started"; + while (!that->finish_) { std::auto_ptr<IDynamicObject> object(that->queue_.Dequeue(TIMEOUT));