summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-12-07 05:26:52 +0000
committerDavid Robillard <d@drobilla.net>2007-12-07 05:26:52 +0000
commita702cc5799f9aa5e1902fd24667a31bce8461fd7 (patch)
treedb7f5e48628d5152e12168ead755837bedd441d2 /raul
parent7cf506c65ca517fc7cd4976f26fc6d5b7b42223c (diff)
downloadraul-a702cc5799f9aa5e1902fd24667a31bce8461fd7.tar.gz
raul-a702cc5799f9aa5e1902fd24667a31bce8461fd7.tar.bz2
raul-a702cc5799f9aa5e1902fd24667a31bce8461fd7.zip
Fix termination of evolution and resumed Jack execution.
git-svn-id: http://svn.drobilla.net/lad/raul@960 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul')
-rw-r--r--raul/Thread.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/raul/Thread.hpp b/raul/Thread.hpp
index 29cade1..14652c9 100644
--- a/raul/Thread.hpp
+++ b/raul/Thread.hpp
@@ -70,8 +70,13 @@ protected:
*
* This is called once on start, and terminated on stop.
* Implementations likely want to put some infinite loop here.
+ *
+ * When _exit_flag becomes true (via a call to stop()) the loop
+ * should exit.
*/
virtual void _run() {}
+
+ bool _exit_flag;
private: