major design changes: use glib event loop for MIDI thread/UI; rework design of BaseUI...
[ardour.git] / libs / ardour / butler.cc
index 76a7fb2424fdf84fafae0df29dfc081508993304..05ac7316ec1af3f9b2a7e9e53e16ccc140a9bb59 100644 (file)
@@ -89,7 +89,7 @@ Butler::start_thread()
                return -1;
        }
 
-       if (pthread_create_and_store ("disk butler", &thread, 0, _thread_work, this)) {
+       if (pthread_create_and_store ("disk butler", &thread, _thread_work, this)) {
                error << _("Session: could not create butler thread") << endmsg;
                return -1;
        }
@@ -113,7 +113,6 @@ Butler::terminate_thread ()
 void *
 Butler::_thread_work (void* arg)
 {
-       PBD::notify_gui_about_thread_creation (pthread_self(), X_("Butler"));
        SessionEvent::create_per_thread_pool ("butler events", 64);
        return ((Butler *) arg)->thread_work ();
 }