From 76a0c823caab700725fe8318d1a4c4e33f067847 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Mon, 14 Sep 2015 12:22:39 +1000 Subject: [PATCH] Add PBD::DebugBit for debugging thread related debugging output --- libs/pbd/debug.cc | 1 + libs/pbd/pbd/debug.h | 1 + 2 files changed, 2 insertions(+) diff --git a/libs/pbd/debug.cc b/libs/pbd/debug.cc index aa55d82f59..0c9119d002 100644 --- a/libs/pbd/debug.cc +++ b/libs/pbd/debug.cc @@ -55,6 +55,7 @@ DebugBits PBD::DEBUG::FileUtils = PBD::new_debug_bit ("fileutils"); DebugBits PBD::DEBUG::Configuration = PBD::new_debug_bit ("configuration"); DebugBits PBD::DEBUG::UndoHistory = PBD::new_debug_bit ("undohistory"); DebugBits PBD::DEBUG::Timing = PBD::new_debug_bit ("timing"); +DebugBits PBD::DEBUG::Threads = PBD::new_debug_bit ("threads"); /* These are debug bits that are used by backends. Since these are loaded dynamically, after command-line parsing, defining them in code that is part of the backend diff --git a/libs/pbd/pbd/debug.h b/libs/pbd/pbd/debug.h index 324638524c..16341fc0cd 100644 --- a/libs/pbd/pbd/debug.h +++ b/libs/pbd/pbd/debug.h @@ -57,6 +57,7 @@ namespace PBD { LIBPBD_API extern DebugBits FileUtils; LIBPBD_API extern DebugBits UndoHistory; LIBPBD_API extern DebugBits Timing; + LIBPBD_API extern DebugBits Threads; /* See notes in ../debug.cc on why these are defined here */