Mercurial > hg > orthanc
diff OrthancServer/LuaScripting.h @ 2651:1da5a052c777 jobs
testing value serialization
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Jun 2018 11:53:12 +0200 |
parents | ef5b45884972 |
children | 3fc310ceb6d4 |
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.h Fri Jun 01 19:03:28 2018 +0200 +++ b/OrthancServer/LuaScripting.h Mon Jun 04 11:53:12 2018 +0200 @@ -47,6 +47,13 @@ class LuaScripting : public IServerListener { private: + enum State + { + State_Setup, + State_Running, + State_Done + }; + class ExecuteEvent; class IEvent; class OnStoredInstanceEvent; @@ -74,7 +81,7 @@ LuaContext lua_; ServerContext& context_; LuaJobManager jobManager_; - bool continue_; + State state_; boost::thread eventThread_; SharedMessageQueue pendingEvents_;