summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-07-01 16:36:02 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-07-01 17:47:05 -0400
commit58b293168594c939effa400fe0c18b5d85eb95bd (patch)
tree747f29aa9b0ad6067e540213a5e55fe206d1a604 /libs/pbd
parentba700ecc63f2462684a43b62157e228aa71be1cb (diff)
add the potential for a bit more debugging of signal connects
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/pbd/signals.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/pbd/pbd/signals.h b/libs/pbd/pbd/signals.h
index 97cfa65300..42727b7adc 100644
--- a/libs/pbd/pbd/signals.h
+++ b/libs/pbd/pbd/signals.h
@@ -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