summaryrefslogtreecommitdiffstats
path: root/raul/Slave.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-14 05:45:15 +0000
committerDavid Robillard <d@drobilla.net>2012-05-14 05:45:15 +0000
commitff4c3ff14e76e5b06f1b4c44f03f900e1bd4ac50 (patch)
treea66a97f7f842caa51ee6891d2f5037b6707c6784 /raul/Slave.hpp
parent79deafe642561936ebb3bbcf585f2c6f26b456d3 (diff)
downloadraul-ff4c3ff14e76e5b06f1b4c44f03f900e1bd4ac50.tar.gz
raul-ff4c3ff14e76e5b06f1b4c44f03f900e1bd4ac50.tar.bz2
raul-ff4c3ff14e76e5b06f1b4c44f03f900e1bd4ac50.zip
Clean up Thread interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@4411 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/Slave.hpp')
-rw-r--r--raul/Slave.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/Slave.hpp b/raul/Slave.hpp
index e148cff..593d5e2 100644
--- a/raul/Slave.hpp
+++ b/raul/Slave.hpp
@@ -32,7 +32,7 @@ namespace Raul {
class Slave : public Thread
{
public:
- Slave() : _whip(0) {}
+ explicit Slave(const std::string& name="") : Thread(name), _whip(0) {}
/** Tell the slave to do whatever work it does. Realtime safe. */
inline void whip() { _whip.post(); }