make OSC thread register with the GUI
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 11 Sep 2007 10:39:31 +0000 (10:39 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 11 Sep 2007 10:39:31 +0000 (10:39 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2452 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/osc.cc

index d999386005300afc1c2e93c03b00deaf0a200221..a7d4e32db51aa734a33d54317136e45d93e52640 100644 (file)
@@ -27,6 +27,8 @@
 #include <unistd.h>
 #include <fcntl.h>
 
+#include <pbd/pthread_utils.h>
+
 #include <ardour/osc.h>
 #include <ardour/session.h>
 #include <ardour/route.h>
@@ -281,6 +283,7 @@ OSC::get_unix_server_url()
 void *
 OSC::_osc_receiver(void * arg)
 {
+       PBD::ThreadCreated (pthread_self(), X_("OSC"));
        static_cast<OSC*> (arg)->osc_receiver();
        return 0;
 }