summaryrefslogtreecommitdiff
path: root/libs/ardour/midi_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/midi_ui.cc')
-rw-r--r--libs/ardour/midi_ui.cc12
1 files changed, 12 insertions, 0 deletions
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);