diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-11 12:01:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-11 12:01:17 -0400 |
commit | b9fa882c565e340e0e6f110274e0ac8809f3556d (patch) | |
tree | cd882c6b0fd059eb4c01b07c42711495537ce22a /libs/pbd/base_ui.cc | |
parent | 1fad4714e37734017bd6e7633af2ff06bee2dc48 (diff) |
Use PBD::pthread_name in debug output instead of pthread_self
Diffstat (limited to 'libs/pbd/base_ui.cc')
-rw-r--r-- | libs/pbd/base_ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |