diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-11 10:43:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-11 10:43:55 +0000 |
commit | 648edb8b0f10afbbdb6732ac3733d8bdd319fbb5 (patch) | |
tree | 1ff472e43221e06205f12aa0918edfb6ef767c8c /libs/ardour/osc.cc | |
parent | 4cd6ef8b5c7299db4f042de725285ea2db3d852d (diff) |
make OSC thread register with GUI
git-svn-id: svn://localhost/ardour2/trunk@2453 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/osc.cc')
-rw-r--r-- | libs/ardour/osc.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/osc.cc b/libs/ardour/osc.cc index d999386005..8903c3781a 100644 --- a/libs/ardour/osc.cc +++ b/libs/ardour/osc.cc @@ -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,8 @@ 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; } |