From 6e13b91a354ae1540a74cd305853f22b31864465 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 13 Dec 2015 11:28:56 +0100 Subject: [PATCH] portable pthread_self() debug message --- libs/pbd/pbd/abstract_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pbd/pbd/abstract_ui.cc b/libs/pbd/pbd/abstract_ui.cc index 201e50d9d7..d3d3c2e8b1 100644 --- a/libs/pbd/pbd/abstract_ui.cc +++ b/libs/pbd/pbd/abstract_ui.cc @@ -83,7 +83,7 @@ AbstractUI::register_thread (string target_gui, pthread_t thread_ * do so in a realtime-safe manner (no locks). */ - DEBUG_TRACE (PBD::DEBUG::AbstractUI, string_compose ("in %1 (thread name %4), %2 (%5) wants to register with %3\n", event_loop_name(), thread_name, target_gui, pthread_name(), pthread_self())); + DEBUG_TRACE (PBD::DEBUG::AbstractUI, string_compose ("in %1 (thread name %4), %2 (%5) wants to register with %3\n", event_loop_name(), thread_name, target_gui, pthread_name(), DEBUG_THREAD_SELF)); if (target_gui != event_loop_name()) { /* this UI is not the UI that the calling thread is trying to