summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-01-23 01:40:22 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-01-23 01:40:22 +0000
commit63736baaa170362d37a0b9a3d9c163d114095c8a (patch)
treed8fdeba3744be72ed346c00331c475f6295c72b6
parent3c8e91c2a8830cad8e4a4a6f921c95036c997488 (diff)
missing StaticMutex initializer (probably causing 100% CPU use on OS X Leopard)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2956 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/ardour/source_factory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/source_factory.cc b/libs/ardour/source_factory.cc
index 30b9ab4d9b..9d632b9a84 100644
--- a/libs/ardour/source_factory.cc
+++ b/libs/ardour/source_factory.cc
@@ -44,7 +44,7 @@ using namespace sigc;
sigc::signal<void,boost::shared_ptr<Source> > SourceFactory::SourceCreated;
Glib::Cond* SourceFactory::PeaksToBuild;
-Glib::StaticMutex SourceFactory::peak_building_lock;
+Glib::StaticMutex SourceFactory::peak_building_lock = GLIBMM_STATIC_MUTEX_INIT;
std::list<boost::weak_ptr<AudioSource> > SourceFactory::files_with_peaks;
static void