summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/uscxml/Interpreter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h
index cad8ee8..4a948dc 100644
--- a/src/uscxml/Interpreter.h
+++ b/src/uscxml/Interpreter.h
@@ -39,7 +39,8 @@ namespace uscxml {
void start();
static void run(void*);
-
+ void join() { if (_thread != NULL) _thread->join(); };
+
void interpret();
bool validate();