Mercurial > hg > orthanc
comparison OrthancServer/LuaScripting.h @ 2617:912a767911b0 jobs
back to a single Lua context
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 May 2018 12:45:34 +0200 |
parents | 2f3007bf0708 |
children | ef5b45884972 |
comparison
equal
deleted
inserted
replaced
2616:2f3007bf0708 | 2617:912a767911b0 |
---|---|
86 private: | 86 private: |
87 LuaScripting& that_; | 87 LuaScripting& that_; |
88 boost::mutex::scoped_lock lock_; | 88 boost::mutex::scoped_lock lock_; |
89 | 89 |
90 public: | 90 public: |
91 Lock(LuaScripting& that) : | 91 explicit Lock(LuaScripting& that) : |
92 that_(that), | 92 that_(that), |
93 lock_(that.mutex_) | 93 lock_(that.mutex_) |
94 { | 94 { |
95 } | 95 } |
96 | 96 |