add thread registration for OSC event loop/thread
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 24 Jan 2010 21:02:31 +0000 (21:02 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 24 Jan 2010 21:02:31 +0000 (21:02 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6552 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/surfaces/osc/osc.cc

index 9e64667ce7cffe04ab9f023ce220774c121b52b8..0f67f0e602960a7fa4d46a45c1f71ba89862cc81 100644 (file)
@@ -231,6 +231,9 @@ OSC::thread_init ()
                remote_server = src->gobj();
                g_source_ref (remote_server);
        }
+
+       PBD::notify_gui_about_thread_creation (X_("gui"), pthread_self(), X_("OSC"), 2048);
+       SessionEvent::create_per_thread_pool (X_("OSC"), 128);
 }
 
 int