summaryrefslogtreecommitdiffstats
path: root/src/server/JackDriver.cpp
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
commiteee943caa90c2c18777865ed835aa2ca9f92f947 (patch)
tree2d993bd7d18b0305852d34d34d513d08d29666dd /src/server/JackDriver.cpp
parentbf7116520bc723980edb1120eaa66455a4c66ca5 (diff)
downloadingen-eee943caa90c2c18777865ed835aa2ca9f92f947.tar.gz
ingen-eee943caa90c2c18777865ed835aa2ca9f92f947.tar.bz2
ingen-eee943caa90c2c18777865ed835aa2ca9f92f947.zip
Clean up Thread interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4411 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/JackDriver.cpp')
-rw-r--r--src/server/JackDriver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server/JackDriver.cpp b/src/server/JackDriver.cpp
index 0c810f73..30673316 100644
--- a/src/server/JackDriver.cpp
+++ b/src/server/JackDriver.cpp
@@ -427,8 +427,7 @@ JackDriver::_process_cb(jack_nframes_t nframes)
void
JackDriver::_thread_init_cb()
{
- Raul::Thread* thread = &Raul::Thread::get();
- thread->set_name("Jack");
+ Raul::Thread* thread = &Raul::Thread::get("Jack");
ThreadManager::set_flag(THREAD_PROCESS);
ThreadManager::set_flag(THREAD_IS_REAL_TIME);
_jack_threads.push_back(SharedPtr<Raul::Thread>(thread));