comparison Core/Lua/LuaFunctionCall.h @ 996:cf52f3bcb2b3 lua-scripting

clarification of Lua classes wrt multithreading
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Jul 2014 16:27:16 +0200
parents 2d0a347e8cfc
children 1b1d51e9f1a2
comparison
equal deleted inserted replaced
995:8c67382f44a7 996:cf52f3bcb2b3
34 34
35 #include "LuaContext.h" 35 #include "LuaContext.h"
36 36
37 #include <json/json.h> 37 #include <json/json.h>
38 38
39
40 namespace Orthanc 39 namespace Orthanc
41 { 40 {
42 class LuaFunctionCall : public boost::noncopyable 41 class LuaFunctionCall : public boost::noncopyable
43 { 42 {
44 private: 43 private:
45 LuaContext& context_; 44 LuaContext& context_;
46 boost::mutex::scoped_lock lock_;
47 bool isExecuted_; 45 bool isExecuted_;
48 46
49 void CheckAlreadyExecuted(); 47 void CheckAlreadyExecuted();
50 48
51 public: 49 public: