Mercurial > hg > orthanc
diff OrthancServer/LuaScripting.h @ 2618:ef5b45884972 jobs
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 May 2018 12:59:38 +0200 |
parents | 912a767911b0 |
children | 1da5a052c777 |
line wrap: on
line diff
--- a/OrthancServer/LuaScripting.h Tue May 22 12:45:34 2018 +0200 +++ b/OrthancServer/LuaScripting.h Tue May 22 12:59:38 2018 +0200 @@ -70,13 +70,13 @@ void SubmitJob(); - boost::mutex mutex_; - LuaContext lua_; - ServerContext& context_; - LuaJobManager jobManager_; - bool continue_; - boost::thread eventThread_; - SharedMessageQueue pendingEvents_; + boost::recursive_mutex mutex_; + LuaContext lua_; + ServerContext& context_; + LuaJobManager jobManager_; + bool continue_; + boost::thread eventThread_; + SharedMessageQueue pendingEvents_; static void EventThread(LuaScripting* that); @@ -84,8 +84,8 @@ class Lock : public boost::noncopyable { private: - LuaScripting& that_; - boost::mutex::scoped_lock lock_; + LuaScripting& that_; + boost::recursive_mutex::scoped_lock lock_; public: explicit Lock(LuaScripting& that) :