summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2016-01-30 00:42:45 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2016-01-30 00:42:45 (GMT)
commit0b313e00915b31c8c03980b7225f82ac2e9513e6 (patch)
tree2b3bf60553db69bf7bb7cc9c37cdb96faf198f6e /src/uscxml/Interpreter.cpp
parente67b8c3bce5ce1cf5b3b1b17faff3ec114b70f0a (diff)
downloaduscxml-0b313e00915b31c8c03980b7225f82ac2e9513e6.zip
uscxml-0b313e00915b31c8c03980b7225f82ac2e9513e6.tar.gz
uscxml-0b313e00915b31c8c03980b7225f82ac2e9513e6.tar.bz2
Prepared ANSI C transformation with invokers
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r--src/uscxml/Interpreter.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index f1490d4..a05fe39 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -52,9 +52,12 @@
#if 0
# define INTERPRETER_IMPL InterpreterDraft6
# include "uscxml/interpreter/InterpreterDraft6.h"
-#else
+#elif 1
# define INTERPRETER_IMPL InterpreterRC
# include "uscxml/interpreter/InterpreterRC.h"
+#else
+# define INTERPRETER_IMPL InterpreterFast
+# include "uscxml/interpreter/InterpreterFast.h"
#endif
#define VERBOSE 0
@@ -776,7 +779,7 @@ NodeSet<std::string> InterpreterImpl::getDocumentInitialTransitions() {
}
return initialTransitions;
}
-
+
InterpreterState InterpreterImpl::step(int waitForMS) {
try {
tthread::lock_guard<tthread::recursive_mutex> lock(_mutex);