summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-17 23:06:26 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-17 23:06:26 (GMT)
commit7c76e603c874009346208c61ad7a3386997b58d1 (patch)
tree2ecf830f7e343af4d8f0439f43ae0cbdafd7b3ba /src/uscxml/Interpreter.cpp
parenteba3e69a20da96e527827ac83a537cde8bdc66ba (diff)
downloaduscxml-7c76e603c874009346208c61ad7a3386997b58d1.zip
uscxml-7c76e603c874009346208c61ad7a3386997b58d1.tar.gz
uscxml-7c76e603c874009346208c61ad7a3386997b58d1.tar.bz2
Revert "Protect parts of interpreter with mutexes for thread-safety"
This reverts commit eba3e69a20da96e527827ac83a537cde8bdc66ba.
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r--src/uscxml/Interpreter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index b2e61fd..c951999 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -190,6 +190,7 @@ void InterpreterImpl::setName(const std::string& name) {
}
InterpreterImpl::~InterpreterImpl() {
+ tthread::lock_guard<tthread::recursive_mutex> lock(_mutex);
if (_thread) {
_running = false;
// unblock event queue