X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fsignals.h;h=69c52f57cf9b330cf9ca76edf5e29c46ebeba720;hb=b6afce39a40f5a6f06de665c242d96934b7e3f8e;hp=dc53b31f94422047a1865ce8d01626c6a8b8f81a;hpb=23a615a6dbf84a47ca3dbdb2b1f4a382cf6c0820;p=ardour.git diff --git a/libs/pbd/pbd/signals.h b/libs/pbd/pbd/signals.h index dc53b31f94..69c52f57cf 100644 --- a/libs/pbd/pbd/signals.h +++ b/libs/pbd/pbd/signals.h @@ -21,13 +21,13 @@ #define __pbd_signals_h__ #include -#include +#include +#include #include #include #include #include -#include #include #include @@ -44,7 +44,7 @@ public: virtual void disconnect (boost::shared_ptr) = 0; protected: - boost::mutex _mutex; + Glib::Threads::Mutex _mutex; }; class Connection : public boost::enable_shared_from_this @@ -54,7 +54,7 @@ public: void disconnect () { - boost::mutex::scoped_lock lm (_mutex); + Glib::Threads::Mutex::Lock lm (_mutex); if (_signal) { _signal->disconnect (shared_from_this ()); _signal = 0; @@ -63,12 +63,12 @@ public: void signal_going_away () { - boost::mutex::scoped_lock lm (_mutex); + Glib::Threads::Mutex::Lock lm (_mutex); _signal = 0; } private: - boost::mutex _mutex; + Glib::Threads::Mutex _mutex; SignalBase* _signal; }; @@ -147,7 +147,7 @@ class ScopedConnectionList : public boost::noncopyable one from another. */ - Glib::Mutex _lock; + Glib::Threads::Mutex _lock; typedef std::list ConnectionList; ConnectionList _list;