diff options
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r-- | src/uscxml/Interpreter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h index f28eb69..1394d59 100644 --- a/src/uscxml/Interpreter.h +++ b/src/uscxml/Interpreter.h @@ -142,10 +142,12 @@ public: void receive(const Event& event, bool toFront = false); Event getCurrentEvent() { + tthread::lock_guard<tthread::recursive_mutex> lock(_mutex); return _currEvent; } Arabica::XPath::NodeSet<std::string> getConfiguration() { + tthread::lock_guard<tthread::recursive_mutex> lock(_mutex); return _configuration; } void setConfiguration(const std::vector<std::string>& states) { @@ -228,7 +230,7 @@ protected: bool _stable; tthread::thread* _thread; tthread::recursive_mutex _mutex; - tthread::recursive_mutex _ioProcMutex; + tthread::recursive_mutex _pluginMutex; URL _baseURI; Arabica::DOM::Document<std::string> _document; |