From 109acd156861b7a792f5c4c8b3a9cc96b6ba3eaf Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 28 Dec 2009 16:49:44 +0000 Subject: MIDI binding maps make their debut git-svn-id: svn://localhost/ardour2/branches/3.0@6408 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/midi_ui.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libs/ardour/midi_ui.cc') diff --git a/libs/ardour/midi_ui.cc b/libs/ardour/midi_ui.cc index aa81ff2068..fb85309ee1 100644 --- a/libs/ardour/midi_ui.cc +++ b/libs/ardour/midi_ui.cc @@ -68,6 +68,12 @@ MidiControlUI::do_request (MidiUIRequest* req) } else if (req->type == CallSlot) { +#ifndef NDEBUG + if (getenv ("DEBUG_THREADED_SIGNALS")) { + cerr << "MIDI UI calls a slot\n"; + } +#endif + req->the_slot (); } else if (req->type == Quit) { @@ -149,6 +155,12 @@ MidiControlUI::thread_init () { struct sched_param rtparam; + char* c = new char[7]; + strcpy (c, X_("midiUI")); + pthread_set_name (c); + + cerr << "MIDI UI running\n"; + PBD::notify_gui_about_thread_creation (X_("gui"), pthread_self(), X_("MIDI"), 2048); SessionEvent::create_per_thread_pool (X_("MIDI I/O"), 128); -- cgit v1.2.3