From 63736baaa170362d37a0b9a3d9c163d114095c8a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 23 Jan 2008 01:40:22 +0000 Subject: 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 --- libs/ardour/source_factory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 > SourceFactory::SourceCreated; Glib::Cond* SourceFactory::PeaksToBuild; -Glib::StaticMutex SourceFactory::peak_building_lock; +Glib::StaticMutex SourceFactory::peak_building_lock = GLIBMM_STATIC_MUTEX_INIT; std::list > SourceFactory::files_with_peaks; static void -- cgit v1.2.3