13
0

Add PBD::DebugBit for debugging thread related debugging output

This commit is contained in:
Tim Mayberry 2015-09-14 12:22:39 +10:00
parent d76fe212b7
commit 76a0c823ca
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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 */