From b9fa882c565e340e0e6f110274e0ac8809f3556d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 11 Jul 2013 12:01:17 -0400 Subject: Use PBD::pthread_name in debug output instead of pthread_self --- libs/pbd/base_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/pbd/base_ui.cc') diff --git a/libs/pbd/base_ui.cc b/libs/pbd/base_ui.cc index a7e148c839..69b156589f 100644 --- a/libs/pbd/base_ui.cc +++ b/libs/pbd/base_ui.cc @@ -73,7 +73,7 @@ BaseUI::new_request_type () void BaseUI::main_thread () { - DEBUG_TRACE (DEBUG::EventLoop, string_compose ("%1: event loop running in thread %2\n", name(), pthread_self())); + DEBUG_TRACE (DEBUG::EventLoop, string_compose ("%1: event loop running in thread %2\n", name(), pthread_name())); set_event_loop_for_thread (this); thread_init (); _main_loop->get_context()->signal_idle().connect (sigc::mem_fun (*this, &BaseUI::signal_running)); -- cgit v1.2.3