diff options
author | David Robillard <d@drobilla.net> | 2013-01-13 17:55:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-13 17:55:50 +0000 |
commit | 9b5da6b16fb7dacada67db377beaa46a61fe0c22 (patch) | |
tree | cacb72d6e1d6aff44ac5f4967617a3281dad053b /src/engine/Slave.hpp | |
parent | 0cb9e2ad982390136a25dda96c88cd6cb40785f3 (diff) | |
download | machina-9b5da6b16fb7dacada67db377beaa46a61fe0c22.tar.gz machina-9b5da6b16fb7dacada67db377beaa46a61fe0c22.tar.bz2 machina-9b5da6b16fb7dacada67db377beaa46a61fe0c22.zip |
Lint.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4960 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/Slave.hpp')
-rw-r--r-- | src/engine/Slave.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/engine/Slave.hpp b/src/engine/Slave.hpp index e08fb71..55701a7 100644 --- a/src/engine/Slave.hpp +++ b/src/engine/Slave.hpp @@ -27,12 +27,14 @@ namespace machina { * Use this to perform some task in a separate thread you want to 'drive' * from a realtime (or otherwise) thread. */ -class Slave - : public Raul::Thread +class Slave : public Raul::Thread { public: Slave() : _whip(0) {} - ~Slave() { _exit_flag = true; _whip.post(); } + ~Slave() { + _exit_flag = true; + _whip.post(); + } virtual void join() { _exit_flag = true; |