summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-09-14 12:22:39 +1000
committerTim Mayberry <mojofunk@gmail.com>2015-09-16 11:22:16 +1000
commit76a0c823caab700725fe8318d1a4c4e33f067847 (patch)
treed566c52df5cc3b364be1f8e1fba59868d752f910 /libs
parentd76fe212b7e949fabcfede612f6edc2ebb4f87cc (diff)
Add PBD::DebugBit for debugging thread related debugging output
Diffstat (limited to 'libs')
-rw-r--r--libs/pbd/debug.cc1
-rw-r--r--libs/pbd/pbd/debug.h1
2 files changed, 2 insertions, 0 deletions
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 */