add the potential for a bit more debugging of signal connects
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 1 Jul 2016 20:36:02 +0000 (16:36 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 1 Jul 2016 21:47:05 +0000 (17:47 -0400)
libs/pbd/pbd/signals.h

index 97cfa65300a1bacab25dda5ebc4c7722b30ed695..42727b7adce6e9aef184d636de38dd336d5911f2 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef __pbd_signals_h__
 #define __pbd_signals_h__
 
+#include <csignal>
+
 #include <list>
 #include <map>
 
@@ -67,7 +69,7 @@ public:
 #endif
 
 protected:
-        Glib::Threads::Mutex _mutex;
+       mutable Glib::Threads::Mutex _mutex;
 #ifdef DEBUG_PBD_SIGNAL_CONNECTIONS
        bool _debug_connection;
 #endif