Mercurial > hg > orthanc
diff Core/Lua/LuaContext.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 | 92f4bf2c5d73 |
line wrap: on
line diff
--- a/Core/Lua/LuaContext.h Thu Jul 03 15:58:53 2014 +0200 +++ b/Core/Lua/LuaContext.h Thu Jul 03 16:27:16 2014 +0200 @@ -34,8 +34,6 @@ #include "LuaException.h" -#include <boost/thread.hpp> - extern "C" { #include <lua.h> @@ -43,6 +41,7 @@ #include <EmbeddedResources.h> +#include <boost/noncopyable.hpp> namespace Orthanc { @@ -52,7 +51,6 @@ friend class LuaFunctionCall; lua_State *lua_; - boost::mutex mutex_; std::string log_; static int PrintToLog(lua_State *L);