Add PBD::DebugBit for debugging thread related debugging output
authorTim Mayberry <mojofunk@gmail.com>
Mon, 14 Sep 2015 02:22:39 +0000 (12:22 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Wed, 16 Sep 2015 01:22:16 +0000 (11:22 +1000)
libs/pbd/debug.cc
libs/pbd/pbd/debug.h

index aa55d82f59d9df0cbbd068a5d9d3978fd5b013d2..0c9119d002c0550e7d131e53959437820d7ff9ab 100644 (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
index 324638524ca385e7e6c0607e523ffb64c332d1fd..16341fc0cdf124efcc4a0fed8737ef35686f4095 100644 (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 */